🎉 Add more tests of components

This commit is contained in:
Andrés Moya 2021-02-03 13:09:38 +01:00 committed by Andrey Antukh
parent 068a099f37
commit cdab9ff69c
3 changed files with 178 additions and 23 deletions

View file

@ -319,7 +319,7 @@
(defn instantiate-component
"Create a new shape in the current page, from the component with the given id
in the given file library / current file library."
in the given file library. Then selects the newly created instance."
[file-id component-id position]
(us/assert ::us/uuid file-id)
(us/assert ::us/uuid component-id)