Skip to content

taehee-sp/reagent-vitest-testing-lib

Repository files navigation

vitest + @testing-library + reagent

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

browser mode

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published