From 1eb5bacc82f1d9ec06ee5193c0720e7885ff77a3 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Sat, 17 Oct 2026 15:41:57 +0000 Subject: [PATCH] :bug: Fix export artifact expectations to include file size The export flow now reports the artifact size, but the stale expectations dropped it and failed the frontend suite. Include the size in both assertions so they match the emitted message. AI-assisted-by: muse-spark-1.3-contributor --- frontend/test/frontend_tests/data/exports_files_test.cljs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/test/frontend_tests/data/exports_files_test.cljs b/frontend/test/frontend_tests/data/exports_files_test.cljs index fc648c3b55..9e7f15ebd5 100644 --- a/frontend/test/frontend_tests/data/exports_files_test.cljs +++ b/frontend/test/frontend_tests/data/exports_files_test.cljs @@ -125,7 +125,8 @@ (t/is (= {:file-id (:id target) :uri "http://assets/export" - :filename "My file"} + :filename "My file" + :size 120} (last @seen))))))))) (t/deftest ^:async a-failure-fails-only-its-own-file @@ -165,7 +166,8 @@ (t/testing "the failure does not touch the file that worked" (t/is (= {:file-id (:id one) :uri "http://assets/first" - :filename "First"} + :filename "First" + :size nil} (first (filter #(and (= (:id one) (:file-id %)) (:uri %)) @seen)))))