mirror of
https://github.com/penpot/penpot.git
synced 2025-01-20 05:34:23 -05:00
Merge pull request #332 from tokens-studio/fix-unit-tests-2
♻ Re-enable token tests
This commit is contained in:
commit
cfaf9b8890
2 changed files with 3 additions and 8 deletions
|
@ -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))
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue