Files
Synapse/cli-e2e/test/logseq/cli/e2e/paths_test.clj
Dasemu 40631362b3 Initial import of LogDarioSeq baseline
Establishes version control for the personal Logseq DB fork before
starting the server-client architecture migration and domain features
described in docs/agent-guide and the approved implementation plan.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-25 15:32:15 +02:00

19 lines
786 B
Clojure

(ns logseq.cli.e2e.paths-test
(:require [clojure.test :refer [deftest is]]
[logseq.cli.e2e.paths :as paths]))
(deftest repo-root-does-not-depend-on-runtime-file-binding
(let [expected (paths/repo-root)]
(binding [*file* nil]
(is (= expected
(paths/repo-root))))))
(deftest required-artifacts-include-cli-runtime-contract
(is (= [(paths/repo-path "cli" "_build" "default" "dist" "logseq-cli.js")
(paths/repo-path "static" "logseq-cli.js")
(paths/repo-path "static" "db-worker-node.js")
(paths/repo-path "dist" "db-worker-node.js")
(paths/repo-path "dist" "db-worker-node-assets.json")
(paths/repo-path "deps" "db-sync" "worker" "dist" "node-adapter.js")]
(paths/required-artifacts))))