Is it feasible to unit test with Node test-runner?
Unanswered
Maine Coon posted this in #help-forum
Maine CoonOP
I'm new to unit testing in React.
Would it be possible/practical to test with Node test-runner instead of Jest?
(I see the docs mention Vitest but I'm not setting up my project with Vite. Alternatively I'm considering Bun or others)
Would it be possible/practical to test with Node test-runner instead of Jest?
(I see the docs mention Vitest but I'm not setting up my project with Vite. Alternatively I'm considering Bun or others)
5 Replies
You can use vitest without using vite
Maine CoonOP
@linesofcode do you have a recommendation Jest vs Vitest?
Vitest
But jest works just as well
Maine CoonOP
why do you prefer Vitest?