install dependencies
pnpm install
compile tests in src/test/reagent_test.cljs
into target/vitest/js
by shadow-cljs. (see shadow-cljs.edn
)
pnpm unit:compile
in another terminal, watch and run compile output by vitest.
pnpm unit
with beautiful ui
pnpm unit --ui
you can run component tests in real browser.
first, install playwright test browser.
pnpm exec playwright install
pnpm unit:browser
you can run component tests in background (also known as headless mode)
pnpm unit:headless