Browse Source

fix: undo redo tests

Tienson Qin 1 year ago
parent
commit
4d7ab822ff
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/test/frontend/worker/undo_redo2_test.cljs

+ 1 - 0
src/test/frontend/worker/undo_redo2_test.cljs

@@ -57,6 +57,7 @@
 
 (deftest ^:long undo-redo-test
   (testing "Random mixed operations"
+    (set! undo-redo2/max-stack-length 500)
     (let [*random-blocks (atom (outliner-test/get-blocks-ids))]
       (outliner-test/transact-random-tree!)
       (let [conn (db/get-db false)