mirror of
https://github.com/penpot/penpot.git
synced 2025-01-21 06:02:32 -05:00
Cleanup
This commit is contained in:
parent
f2358b9827
commit
c486ea81f4
1 changed files with 3 additions and 3 deletions
|
@ -22,14 +22,14 @@
|
|||
(t/deftest tokens-applied-test
|
||||
(t/testing "is true when single shape matches the token and attributes"
|
||||
(t/is (true? (wtt/shapes-token-applied? {:id :a} [{:applied-tokens {:x :a}}
|
||||
{:applied-tokens {:x :b}}]
|
||||
{:applied-tokens {:x :b}}]
|
||||
#{:x}))))
|
||||
(t/testing "is false when no shape matches the token or attributes"
|
||||
(t/is (nil? (wtt/shapes-token-applied? {:id :a} [{:applied-tokens {:x :b}}
|
||||
{:applied-tokens {:x :b}}]
|
||||
{:applied-tokens {:x :b}}]
|
||||
#{:x})))
|
||||
(t/is (nil? (wtt/shapes-token-applied? {:id :a} [{:applied-tokens {:x :a}}
|
||||
{:applied-tokens {:x :a}}]
|
||||
{:applied-tokens {:x :a}}]
|
||||
#{:y})))))
|
||||
|
||||
(t/deftest name->path-test
|
||||
|
|
Loading…
Add table
Reference in a new issue