Open DylanSp opened 4 months ago
I probably want to add tests at some point, for some mix of the following reasons:
Redux Toolkit suggests using Vitest and React Testing Library. Their template at https://github.com/reduxjs/redux-templates/tree/master/packages/vite-template-redux shows the necessary configuration:
package.json
vite.config.ts
.eslintrc.json
Button.test.tsx
Game.spec.ts
vitest/globals
compilerOptions.types
src/setupTests.ts
utils/test-utils.tsx
I probably want to add tests at some point, for some mix of the following reasons:
Redux Toolkit suggests using Vitest and React Testing Library. Their template at https://github.com/reduxjs/redux-templates/tree/master/packages/vite-template-redux shows the necessary configuration:
package.json
vite.config.ts
.eslintrc.json
to lint files such asButton.test.tsx
orGame.spec.ts
vitest/globals
tocompilerOptions.types
in tsconfigsrc/setupTests.ts
fileutils/test-utils.tsx