enhance(dev): build EDN supports logseq idents for :build/tags

Also cleanup more more tests that have been simplified by recent test
helper improvement
This commit is contained in:
Gabriel Horner
2025-01-27 17:03:26 -05:00
parent 63184bc3cc
commit ef93609df0
3 changed files with 30 additions and 38 deletions

View File

@@ -386,9 +386,8 @@
(map :db/ident (:block/tags (db-test/find-page-by-title @conn "life"))))
"When a class is used and referenced on the same page, there should only be one instance of it")
(is (= ["life"]
(->> (:block/tags (db-test/find-block-by-content @conn #"with namespace tag"))
(mapv #(db-property/ref->property-value-contents @conn %))))
(is (= [:user.class/Quotes___life]
(mapv :db/ident (:block/tags (db-test/find-block-by-content @conn #"with namespace tag"))))
"Block tagged with namespace tag is only associated with leaf child tag")
(is (= []