Fix tests

This commit is contained in:
Florian Schroedl 2024-10-01 09:56:03 +02:00
parent 993df23624
commit 5825fa656b
2 changed files with 24 additions and 25 deletions

View file

@ -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}