mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 08:26:40 +00:00
enhance: improved config.edn for new db graphs
New db config.edn don't include any of the file graph keys or comments. Previously all comments were confusingly left lying around. Also moved conversion of imported config.edn so that CLI can use it. Also temporarily moved one dep to https://github.com/nextjournal/nbb-test-runner/pull/2 until the PR is merged
This commit is contained in:
@@ -693,7 +693,7 @@
|
||||
|
||||
(deftest-async export-config-file-sets-title-format
|
||||
(p/let [conn (db-test/create-conn)
|
||||
read-file #(p/do! (pr-str {:journal/page-title-format "yyyy-MM-dd"}))
|
||||
read-file #(p/do! "{:journal/page-title-format \"yyyy-MM-dd\"}")
|
||||
_ (gp-exporter/export-config-file conn "logseq/config.edn" read-file {})]
|
||||
(is (= "yyyy-MM-dd"
|
||||
(:logseq.property.journal/title-format (d/entity @conn :logseq.class/Journal)))
|
||||
|
||||
Reference in New Issue
Block a user