mirror of
https://github.com/logseq/logseq.git
synced 2026-02-01 22:47:36 +00:00
chore: cleanup page-property file based ns
All of frontend.util.page-property was file based except for one line. Moved that ns to a file-based ns and moved the line out to the more appropriate property-handler
This commit is contained in:
@@ -179,9 +179,9 @@ For this workflow:
|
||||
1. Add `^:focus` metadata flags to tests e.g. `(deftest ^:focus test-name ...)`.
|
||||
2. In another shell, run `node static/tests.js -i focus` to only run those
|
||||
tests. To run all tests except those tests run `node static/tests.js -e focus`.
|
||||
3. Or focus namespaces: Using the regex option `-r`, run tests for `frontend.util.page-property-test` with `node static/tests.js -r page-property`.
|
||||
3. Or focus namespaces: Using the regex option `-r`, run tests for `frontend.db.query-dsl-test` with `node static/tests.js -r query-dsl`.
|
||||
|
||||
Multiple options can be specified to AND selections. For example, to run all `frontend.util.page-property-test` tests except for the focused one: `node static/tests.js -r page-property -e focus`
|
||||
Multiple options can be specified to AND selections. For example, to run all `frontend.db.query-dsl-test` tests except for the focused one: `node static/tests.js -r query-dsl -e focus`
|
||||
|
||||
For help on more options, run `node static/tests.js -h`.
|
||||
|
||||
@@ -190,7 +190,7 @@ For help on more options, run `node static/tests.js -h`.
|
||||
To run tests automatically on file save, run `clojure -M:test watch test
|
||||
--config-merge '{:autorun true}'`. Specific namespace(s) can be auto run with
|
||||
the `:ns-regexp` option e.g. `clojure -M:test watch test --config-merge
|
||||
'{:autorun true :ns-regexp "frontend.util.page-property-test"}'`.
|
||||
'{:autorun true :ns-regexp "frontend.db.query-dsl-test"}'`.
|
||||
|
||||
#### REPL tests
|
||||
|
||||
|
||||
Reference in New Issue
Block a user