0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 22:22:43 -05:00
This commit is contained in:
Florian Schroedl 2024-07-04 11:15:06 +02:00
parent 694baeee0c
commit 658e7ebd0a

View file

@ -1,7 +1,5 @@
(ns token-tests.logic.token-actions-test (ns token-tests.logic.token-actions-test
(:require (:require
[token-tests.helpers.tokens :as toht]
[app.common.test-helpers.ids-map :as thi]
[app.common.test-helpers.compositions :as ctho] [app.common.test-helpers.compositions :as ctho]
[app.common.test-helpers.files :as cthf] [app.common.test-helpers.files :as cthf]
[app.common.test-helpers.shapes :as cths] [app.common.test-helpers.shapes :as cths]
@ -10,7 +8,7 @@
[frontend-tests.helpers.pages :as thp] [frontend-tests.helpers.pages :as thp]
[frontend-tests.helpers.state :as ths] [frontend-tests.helpers.state :as ths]
[token-tests.helpers.state :as tohs] [token-tests.helpers.state :as tohs]
[app.main.ui.workspace.tokens.token :as wtt])) [token-tests.helpers.tokens :as toht]))
(t/use-fixtures :each (t/use-fixtures :each
{:before thp/reset-idmap!}) {:before thp/reset-idmap!})
@ -28,14 +26,6 @@
:name "borderRadius.md" :name "borderRadius.md"
:type :border-radius}))) :type :border-radius})))
(comment
(floscr/make-printable
(-> (setup-file)
(toht/apply-token-to-shape :rect-1 :token-1 #{:rx :ry})))
(-> (setup-file))
nil)
(t/deftest test-apply-token (t/deftest test-apply-token
(t/testing "applying a token twice with the same attributes will override") (t/testing "applying a token twice with the same attributes will override")
(t/async (t/async