mirror of
https://github.com/penpot/penpot.git
synced 2025-07-31 00:38:32 +02:00
Fix tests
This commit is contained in:
parent
993df23624
commit
5825fa656b
2 changed files with 24 additions and 25 deletions
|
@ -50,10 +50,6 @@
|
|||
(t/testing "doesn't match passed `:token-attributes`"
|
||||
(t/is (nil? (wtt/token-applied? {:name "a"} {:applied-tokens {:x "a"}} #{:y})))))
|
||||
|
||||
(t/deftest token-applied-attributes
|
||||
(t/is (= #{:x} (wtt/token-applied-attributes {:name "a"}
|
||||
{:applied-tokens {:x "a" :y "b"}}
|
||||
#{:x :missing}))))
|
||||
(t/deftest shapes-ids-by-applied-attributes
|
||||
(t/testing "Returns set of matched attributes that fit the applied token"
|
||||
(let [attributes #{:x :y :z}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue