From 332ecd3f4b2bf7baad0bea73e14c88dd4947c7c2 Mon Sep 17 00:00:00 2001 From: Florian Schroedl Date: Tue, 12 Nov 2024 13:44:48 +0100 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=20Re-enable=20token=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/test/frontend_tests/runner.cljs | 4 ++-- .../frontend_tests/tokens/logic/token_actions_test.cljs | 7 +------ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/frontend/test/frontend_tests/runner.cljs b/frontend/test/frontend_tests/runner.cljs index d1bedcfaa3..a42eb72037 100644 --- a/frontend/test/frontend_tests/runner.cljs +++ b/frontend/test/frontend_tests/runner.cljs @@ -36,7 +36,7 @@ 'frontend-tests.util-snap-data-test 'frontend-tests.util-simple-math-test 'frontend-tests.basic-shapes-test - ;; 'frontend-tests.tokens.logic.token-actions-test - ;; 'frontend-tests.tokens.style-dictionary-test + 'frontend-tests.tokens.logic.token-actions-test + 'frontend-tests.tokens.style-dictionary-test 'frontend-tests.tokens.token-test 'frontend-tests.tokens.token-form-test)) diff --git a/frontend/test/frontend_tests/tokens/logic/token_actions_test.cljs b/frontend/test/frontend_tests/tokens/logic/token_actions_test.cljs index 5c482021c7..0df429b6e4 100644 --- a/frontend/test/frontend_tests/tokens/logic/token_actions_test.cljs +++ b/frontend/test/frontend_tests/tokens/logic/token_actions_test.cljs @@ -1,12 +1,10 @@ (ns frontend-tests.tokens.logic.token-actions-test (:require - [app.common.logging :as log] [app.common.test-helpers.compositions :as ctho] [app.common.test-helpers.files :as cthf] [app.common.test-helpers.shapes :as cths] [app.common.types.tokens-lib :as ctob] [app.main.ui.workspace.tokens.changes :as wtch] - [app.main.ui.workspace.tokens.token :as wtt] [cljs.test :as t :include-macros true] [frontend-tests.helpers.pages :as thp] [frontend-tests.helpers.state :as ths] @@ -14,10 +12,7 @@ [frontend-tests.tokens.helpers.tokens :as toht])) (t/use-fixtures :each - {:before (fn [] - ;; Ignore rxjs async errors - (log/set-level! "app.main.data.changes" :error) - (thp/reset-idmap!))}) + {:before thp/reset-idmap!}) (defn setup-file [] (cthf/sample-file :file-1 :page-label :page-1))