Make sure you have node 23 or greater. See the node documentation for how to install node.
Install the node dependencies:
npm installCompile the tests:
npx shadow-cljs compile testOnce tests are compiled they can be ran with:
node target/js/node-tests.jsIf you want to autorun the tests during development run the following:
npx shadow-cljs watch testIf you only want to autorun specific test files you may run the following:
npx shadow-cljs watch test --config-merge '{:autorun false}'In another terminal, run the following, multiple namespaces are comma (,) separated.
npx nodemon -w target/js taget/js/node-tests.js --test=clojure.core-test.int-questionmark