Compare commits

..

1 Commits

Author SHA1 Message Date
5b0b131a18 feat: 많은 테스트...
Some checks failed
build / build (push) Has been cancelled
2026-04-02 13:18:39 -06:00
2 changed files with 2 additions and 1 deletions

View File

@@ -30,6 +30,7 @@ in mkCljBin' {
]; ];
nativeBuildInputs = [ nativeBuildInputs = [
babashka babashka
breakpointHook
]; ];
nativeCheckInputs = [ nativeCheckInputs = [
doerg-parser doerg-parser

View File

@@ -30,7 +30,7 @@
(defn test-db-fixture [f] (defn test-db-fixture [f]
(let [db-file (-> publisher-cfg/*cfg* ::publisher/org-roam-db-path)] (let [db-file (-> publisher-cfg/*cfg* ::publisher/org-roam-db-path)]
(assert (->> db-file fs/canonicalize str (assert (->> db-file fs/canonicalize str
(re-matches #"^/(build|tmp)/.*")) (re-matches #"^/(build|tmp)/"))
(format "i'm scared to delete a non-test database... %s" (format "i'm scared to delete a non-test database... %s"
(str db-file))) (str db-file)))
(fs/delete-if-exists db-file) (fs/delete-if-exists db-file)