Browse Source

fix: tests

Tienson Qin 1 year ago
parent
commit
93320879dc

+ 1 - 1
src/test/frontend/handler/repo_test.cljs

@@ -25,7 +25,7 @@
 
     (docs-graph-helper/docs-graph-assertions db graph-dir (map :file/path files))
     (testing "Additional Counts"
-      (is (= 77140 (count (d/datoms db :eavt))) "Correct datoms count")
+      (is (= 76922 (count (d/datoms db :eavt))) "Correct datoms count")
 
       (is (= 7047
              (ffirst

+ 1 - 1
src/test/frontend/worker/rtc/client_test.cljs

@@ -26,7 +26,7 @@
                :av-coll
                [[:block/name "[\"~#'\",\"yyy\"]" 1 true]
                 [:block/title "[\"~#'\",\"yyy\"]" 1 true]
-                [:block/type "[\"~#'\",\"class\"]" 1 true]]}}
+                [:block/type "[\"~#'\",\"tag\"]" 1 true]]}}
              (:remote-ops
               (#'subject/local-block-ops->remote-ops
                db

+ 1 - 1
src/test/frontend/worker/rtc/db_listener_test.cljs

@@ -105,7 +105,7 @@
                       [[:block/updated-at "[\"~#'\",1720019497643]"]
                        [:block/created-at "[\"~#'\",1720019497643]"]
                        [:block/title "[\"~#'\",\"zzz\"]"]
-                       [:block/type "[\"~#'\",\"class\"]"]
+                       [:block/type "[\"~#'\",\"tag\"]"]
                        ;;1. no :class/parent, because db/id 4 block doesn't exist in empty-db
                        ;;2. shouldn't have :db/ident, :db/ident is special, will be handled later
                        ]}]]