Skip to content

Commit 2f10458

Browse files
authored
feat: replace jest with vitest [sc-23945] (#1061)
* feat: replace jest with vitest Jest lacks native TypeScript support and is annoying to deal with. This PR replaces Jest with Vitest which is largely compatible with the way tests are defined in Jest. Some code changes had to be made to make the switch possible. * fix(tests): temporarily disable failing test to make sure the rest work * fix: chalk and prompts imports are incomatible with wildcard import * feat: enable testing on windows again
1 parent 3953bd5 commit 2f10458

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+10853
-13477
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
strategy:
2525
fail-fast: false
2626
matrix:
27-
os: [ubuntu-latest]
27+
os: [ubuntu-latest, windows-latest]
2828
name: test - ${{ matrix.os }}
2929
runs-on: ${{ matrix.os }}
3030
steps:

0 commit comments

Comments
 (0)