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:
Gabriel Horner
2022-05-24 10:25:22 -04:00
parent 5bce219ca4
commit e999ebc149
17 changed files with 96 additions and 93 deletions

View File

@@ -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]