mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 08:26:40 +00:00
Automatically set extract-options correctly
- Removed state paths [:config :text-formats], [:config :img-formats] and [:me :settins :date-formatter] as they have been unused since their introduction in 2020 - Converted incorrect js/Error refs - Also merged db.config test helpers
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
(:require [cljs.test :refer [async deftest use-fixtures are is]]
|
||||
[clojure.edn :as edn]
|
||||
[frontend.handler.export :as export]
|
||||
[frontend.db.config :as config]
|
||||
[frontend.test.helper :as test-helper]
|
||||
[frontend.handler.repo :as repo-handler]
|
||||
[frontend.state :as state]
|
||||
[promesa.core :as p]))
|
||||
@@ -33,10 +33,10 @@
|
||||
(use-fixtures :once
|
||||
{:before (fn []
|
||||
(async done
|
||||
(config/clear-current-repo)
|
||||
(test-helper/clear-current-repo)
|
||||
(p/let [_ (import-test-data!)]
|
||||
(done))))
|
||||
:after config/destroy-db!})
|
||||
:after test-helper/destroy-test-db!})
|
||||
|
||||
(deftest export-blocks-as-markdown
|
||||
(are [expect block-uuid-s]
|
||||
|
||||
Reference in New Issue
Block a user