(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 is a website building & hosting documentation for Clojure/Script libraries
× close