Skip to content

Commit af2c3ac

Browse files
authored
Merge pull request #466 from seamapi/vitest
2 parents cd68f02 + e3e5152 commit af2c3ac

22 files changed

+5422
-10059
lines changed

.eslintrc.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,6 @@
7474
"rules": {
7575
"react-hooks/rules-of-hooks": "off"
7676
}
77-
},
78-
{
79-
"files": ["**/*.test.tsx?", "test/jest/setup-*.tsx?"],
80-
"env": { "jest": true }
8177
}
8278
]
8379
}

.github/workflows/check.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
os:
2121
- ubuntu-latest
2222
node:
23-
- '16'
2423
- '18'
24+
- '20'
2525
include:
2626
- os: ubuntu-latest
2727
os_name: Linux
@@ -42,8 +42,8 @@ jobs:
4242
fail-fast: false
4343
matrix:
4444
node:
45-
- '16'
4645
- '18'
46+
- '20'
4747
steps:
4848
- name: Checkout
4949
uses: actions/checkout@v3
@@ -67,8 +67,8 @@ jobs:
6767
os:
6868
- ubuntu-latest
6969
node:
70-
- '16'
7170
- '18'
71+
- '20'
7272
include:
7373
- os: ubuntu-latest
7474
os_name: Linux
@@ -113,8 +113,8 @@ jobs:
113113
fail-fast: false
114114
matrix:
115115
node:
116-
- '16'
117116
- '18'
117+
- '20'
118118
steps:
119119
- name: Checkout
120120
uses: actions/checkout@v3

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -372,13 +372,13 @@ to have deterministic responses for rendering views and running tests.
372372
Edit the seed data for the fake or find relevant ids for testing components here:
373373

374374
- [Storybook fake seed](./.storybook/seed-fake.js).
375-
- [Jest test fake seed](./test/jest/global-setup.cjs).
375+
- [Vitest fake seed](./test/fixtures/seed-fake.ts).
376376

377377
### Tests
378378

379-
Write tests with [Jest].
379+
Write tests with [Vitest].
380380

381-
[Jest]: https://jestjs.io/
381+
[Vitest]: https://vitest.dev/
382382

383383
### Examples
384384

jest.config.cjs

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)