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>
This commit is contained in:
18
cli-e2e/test/logseq/cli/e2e/paths_test.clj
Normal file
18
cli-e2e/test/logseq/cli/e2e/paths_test.clj
Normal file
@@ -0,0 +1,18 @@
|
||||
(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))))
|
||||
Reference in New Issue
Block a user