Fix autorun tests doc, close #5967

pull/6103/head
Gabriel Horner 2022-07-19 21:03:14 -04:00
parent b226484683
commit 981b1ad69e
1 changed files with 4 additions and 6 deletions

View File

@ -110,12 +110,10 @@ For help on more options, run `node static/tests.js -h`.
#### Autorun Tests #### Autorun Tests
To run tests automatically on file save, run `yarn To run tests automatically on file save, run `clojure -M:test watch test
shadow-cljs watch test --config-merge '{:autorun true}'`. The test output may --config-merge '{:autorun true}'`. Specific namespace(s) can be auto run with
appear where shadow-cljs was first invoked e.g. where `yarn watch` is running. the `:ns-regexp` option e.g. `clojure -M:test watch test --config-merge
Specific namespace(s) can be auto run with the `:ns-regexp` option e.g. `npx '{:autorun true :ns-regexp "frontend.util.page-property-test"}'`.
shadow-cljs watch test --config-merge '{:autorun true :ns-regexp
"frontend.util.page-property-test"}'`.
## Logging ## Logging