shadow-cljs test example
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/server
.gitattributes
.gitignore
README.md
package.json
shadow-cljs.edn
yarn.lock

README.md

Test example for shadow-cljs

Develop

npm i -g shadow-cljs

With hot code swapping support:

shadow-cljs watch app
# another tty
node target/test.js

Steps

  • add shadow-cljs.edn to config compilation
  • compile ClojureScript
  • run node target/test.js to start app and watch testing

Some guides on tests: https://nakkaya.com/2009/11/18/unit-testing-in-clojure/

License

MIT