diff --git a/frontend/src/app/main/ui/workspace/tokens/style_dictionary.cljs b/frontend/src/app/main/ui/workspace/tokens/style_dictionary.cljs index 0d9560bbe9..b81d431217 100644 --- a/frontend/src/app/main/ui/workspace/tokens/style_dictionary.cljs +++ b/frontend/src/app/main/ui/workspace/tokens/style_dictionary.cljs @@ -32,7 +32,11 @@ (comment (find-token-references "{foo} + {bar}") - (find-token-references "nothing") + ;; => #{"foo" "bar"} + (find-token-references "{foo.bar.baz} + something") + ;; => #{"foo.bar.baz"} + (find-token-references "1 + 2") + ;; => nil nil) (defn token-self-reference? [token-name reference-string]