From da1985bcf33cb0ece1de303ceb4cc37518d25ffe Mon Sep 17 00:00:00 2001 From: Tienson Qin Date: Tue, 7 Apr 2026 19:38:13 +0800 Subject: [PATCH] fix: lint --- deps/db-sync/.carve/ignore | 9 +++++++++ deps/db-sync/test/logseq/db_sync/node_adapter_test.cljs | 3 +-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/deps/db-sync/.carve/ignore b/deps/db-sync/.carve/ignore index 6582368232..7979afb245 100644 --- a/deps/db-sync/.carve/ignore +++ b/deps/db-sync/.carve/ignore @@ -2,6 +2,8 @@ logseq.db-sync.cycle/fix-cycle! ;; API logseq.db-sync.node.entry/main +;; API (CLI entrypoint) +logseq.db-sync.node.show-checksum/main ;; API logseq.db-sync.order/fix-duplicate-orders! ;; TODO: is this ns needed? @@ -25,3 +27,10 @@ logseq.db-sync.worker/worker logseq.db-sync.worker.timing/summary ;; API logseq.db-sync.checksum/recompute-checksum-diagnostics +;; API (test runner entrypoint) +logseq.db-sync.test-runner/main +;; Disabled FIXME tests in node_adapter_test.cljs +logseq.db-sync.node-adapter-test/post-json +logseq.db-sync.node-adapter-test/get-json +logseq.db-sync.node-adapter-test/parse-json +logseq.db-sync.node-adapter-test/start-test-server diff --git a/deps/db-sync/test/logseq/db_sync/node_adapter_test.cljs b/deps/db-sync/test/logseq/db_sync/node_adapter_test.cljs index 425d1cee82..09d958c9cf 100644 --- a/deps/db-sync/test/logseq/db_sync/node_adapter_test.cljs +++ b/deps/db-sync/test/logseq/db_sync/node_adapter_test.cljs @@ -1,8 +1,7 @@ (ns logseq.db-sync.node-adapter-test ;; Linters disabled because commented out FIXME code causes false positives {:clj-kondo/config {:ignore true}} - (:require [cljs.test :refer [deftest is async testing]] - [clojure.string :as string] + (:require [clojure.string :as string] [logseq.db-sync.node.server :as node-server] [logseq.db-sync.protocol :as protocol] [promesa.core :as p]))