(init!)(init! app-node-id)This function initializes the environment for a test run. It must be called before every test run.
As a convenience it returns a cljs.test/empty-env initialized so that the test run will use the cljs-test-display formatter.
This function takes an optional single argument: the id of the DOM node to mount. It defaults to "app"
Example Usage:
(cljs.test/run-tests (cljs-test-display/init! "app") 'example.core-test 'example.core-other-test)
This function initializes the environment for a test run. It must
be called before every test run.
As a convenience it returns a cljs.test/empty-env initialized so
that the test run will use the cljs-test-display formatter.
This function takes an optional single argument: the id of the DOM
node to mount. It defaults to "app"
Example Usage:
(cljs.test/run-tests (cljs-test-display/init! "app")
'example.core-test
'example.core-other-test)cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |