Skip to content

Commit

Permalink
Merge pull request #269 from MetroStar/vitest
Browse files Browse the repository at this point in the history
Replace Jest with Vitest
  • Loading branch information
jbouder committed Jul 8, 2024
2 parents bb9ab96 + 7968e5c commit e528d0e
Show file tree
Hide file tree
Showing 21 changed files with 5,870 additions and 10,843 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/code-quality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Run Jest tests with coverage
run: npm run test
- name: Run Vitest tests with coverage
run: npm run test:coverage

run-lint-checks:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"wix.vscode-import-cost",
"esbenp.prettier-vscode",
"pflannery.vscode-versionlens",
"orta.vscode-jest"
"vitest.explorer"
]
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The goal of this project is to provide a React with TypeScript starter applicati
- Data Visualization: [Victory Charts](https://formidable.com/open-source/victory/)
- State Management: [Recoil](https://recoiljs.org/)
- Form Validation: [React Hook Form](https://react-hook-form.com/)
- Unit Testing: [Jest](https://jestjs.io/) with [React Testing Library](https://testing-library.com/docs/react-testing-library/intro/)
- Unit Testing: [Vitest](https://vitest.dev/) with [React Testing Library](https://testing-library.com/docs/react-testing-library/intro/)
- Code Analysis: [ES Lint](https://eslint.org/)
- Code Formatting: [Prettier](https://prettier.io/)
- End-to-End (E2E) Testing: [Cypress](https://www.cypress.io/) with [cypress-axe](https://www.npmjs.com/package/cypress-axe)
Expand Down Expand Up @@ -57,7 +57,7 @@ npm run test
Ensure to review the coverage directory for code coverage details.

```sh
npm run coverage
npm run test:coverage
```

## Running Code Quality Checks
Expand Down
6 changes: 0 additions & 6 deletions babel.config.json

This file was deleted.

228 changes: 0 additions & 228 deletions jest.config.ts

This file was deleted.

Loading

0 comments on commit e528d0e

Please sign in to comment.