mirror of https://github.com/logseq/logseq
don't validate db for yarn test
parent
307258343e
commit
621d88f17c
|
@ -171,7 +171,7 @@
|
|||
rs (db/transact! repo txs (assoc opts :outliner/transact? true))
|
||||
tx-id (get-tx-id rs)]
|
||||
;; TODO: disable this when db is stable
|
||||
(when config/dev? (validate-db! rs))
|
||||
(when (and config/dev? (not util/node-test?)) (validate-db! rs))
|
||||
(state/update-state! :history/tx->editor-cursor
|
||||
(fn [m] (assoc m tx-id before-editor-cursor)))
|
||||
|
||||
|
|
Loading…
Reference in New Issue