mirror of
https://github.com/logseq/logseq.git
synced 2026-05-28 14:39:48 +00:00
fix: lint
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
[frontend.db.model :as model]
|
||||
[frontend.handler.editor :as editor]
|
||||
[frontend.state :as state]
|
||||
[frontend.test.helper :as test-helper :refer [load-test-files]]
|
||||
[frontend.test.helper :as test-helper]
|
||||
[frontend.util.cursor :as cursor]))
|
||||
|
||||
(use-fixtures :each test-helper/start-and-destroy-db)
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
(d/transact! conn (sqlite-create-graph/build-db-initial-data "")))
|
||||
(d/listen! conn ::listen-db-changes!
|
||||
(fn [tx-report]
|
||||
(worker-pipeline/invoke-hooks test-db' conn tx-report {}))))))
|
||||
(worker-pipeline/invoke-hooks conn tx-report {}))))))
|
||||
|
||||
(defn destroy-test-db!
|
||||
[]
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
[frontend.worker.rtc.client-op :as client-op]
|
||||
[frontend.worker.rtc.fixture :as r.fixture]
|
||||
[frontend.worker.rtc.gen-client-op :as subject]
|
||||
[frontend.worker.state :as worker-state]
|
||||
[logseq.db.test.helper :as db-test]
|
||||
[logseq.outliner.batch-tx :as batch-tx]
|
||||
[logseq.outliner.core :as outliner-core]
|
||||
|
||||
@@ -7,8 +7,6 @@
|
||||
[frontend.worker.fixtures :as worker-fixtures]
|
||||
[frontend.worker.rtc.malli-schema :as rtc-schema]
|
||||
[frontend.worker.rtc.remote-update :as r.remote]
|
||||
[frontend.worker.state :as worker-state]
|
||||
[logseq.common.config :as common-config]
|
||||
[logseq.db :as ldb]
|
||||
[logseq.outliner.core :as outliner-core]
|
||||
[logseq.outliner.transaction :as outliner-tx]))
|
||||
@@ -311,7 +309,6 @@ result:
|
||||
- 1"
|
||||
(let [repo (state/get-current-repo)
|
||||
conn (conn/get-db repo false)
|
||||
date-formatter (common-config/get-date-formatter (worker-state/get-config repo))
|
||||
opts {:persist-op? false
|
||||
:transact-opts {:repo repo
|
||||
:conn conn}}
|
||||
|
||||
Reference in New Issue
Block a user