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