mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
test(e2e): dump console logs when test failed
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
tx# (max local-tx# remote-tx#)]
|
||||
~@body
|
||||
(loop [i# 5]
|
||||
(when (zero? i#) (throw (ex-info "wait-tx-updated failed" {:data m#})))
|
||||
(when (zero? i#) (throw (ex-info "wait-tx-updated failed" {:old m# :new (get-rtc-tx)})))
|
||||
(util/wait-timeout 1000)
|
||||
(let [new-m# (get-rtc-tx)
|
||||
new-local-tx# (or (:local-tx new-m#) 0)
|
||||
|
||||
Reference in New Issue
Block a user