refactor: replace directives(front matter or org) with properties

This commit is contained in:
Tienson Qin
2022-08-31 02:42:54 +08:00
parent d1d1dc50c2
commit 336fa578d5
16 changed files with 59 additions and 290 deletions

View File

@@ -116,12 +116,6 @@ prop-d:: nada"}])
(deftest block-property-queries
(testing "block property tests with default config"
(test-helper/with-config {}
(block-property-queries-test)))
(test-helper/start-test-db!) ;; reset db
(testing "block property tests with rich-property-values? config"
(test-helper/with-config {:rich-property-values? true}
(block-property-queries-test))))
(defn- page-property-queries-test
@@ -187,12 +181,6 @@ prop-d:: nada"}])
(deftest page-property-queries
(testing "page property tests with default config"
(test-helper/with-config {}
(page-property-queries-test)))
(test-helper/start-test-db!) ;; reset db
(testing "page property tests with rich-property-values? config"
(test-helper/with-config {:rich-property-values? true}
(page-property-queries-test))))
(deftest task-queries