File tree 11 files changed +684
-1268
lines changed
match-sorter-utils/__tests__
react-table-devtools/__tests__
11 files changed +684
-1268
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4
4
"scripts" : {
5
5
"clean" : " npm exec --workspaces -c \" rm -rf build || true\" " ,
6
6
"test" : " (is-ci && npm run test:ci) || npm run test:dev" ,
7
- "test:ci" : " jest " ,
8
- "test:dev" : " jest --watch" ,
7
+ "test:ci" : " vitest " ,
8
+ "test:dev" : " vitest --watch" ,
9
9
"build" : " rollup --config rollup.config.js && npm run typecheck" ,
10
10
"watch" : " concurrently --kill-others \" rollup --config rollup.config.js -w\" \" tsc -b --watch\" " ,
11
11
"linkAll" : " lerna exec 'npm link' --parallel" ,
93
93
"concurrently" : " ^7.1.0" ,
94
94
"current-git-branch" : " ^1.1.0" ,
95
95
"git-log-parser" : " ^1.2.0" ,
96
- "jest " : " ^27.5 .1" ,
96
+ "jsdom " : " ^21.1 .1" ,
97
97
"lerna" : " ^4.0.0" ,
98
98
"luxon" : " ^2.3.2" ,
99
99
"prettier" : " ^2.6.2" ,
110
110
"svelte" : " ^3.49.0" ,
111
111
"ts-node" : " ^10.7.0" ,
112
112
"typescript" : " ^4.7.4" ,
113
+ "vitest" : " ^0.29.3" ,
113
114
"vue" : " ^3.2.33"
114
115
}
115
116
}
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
1
+ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
2
2
3
- exports [` core renders a table with markup 1` ] = `
3
+ exports [` core > renders a table with markup 1` ] = `
4
4
[
5
5
[
6
6
[
@@ -59,7 +59,7 @@ exports[`core renders a table with markup 1`] = `
59
59
]
60
60
` ;
61
61
62
- exports [` core renders a table with markup 2` ] = `
62
+ exports [` core > renders a table with markup 2` ] = `
63
63
[
64
64
[
65
65
"tanner",
@@ -88,7 +88,7 @@ exports[`core renders a table with markup 2`] = `
88
88
]
89
89
` ;
90
90
91
- exports [` core renders a table with markup 3` ] = `
91
+ exports [` core > renders a table with markup 3` ] = `
92
92
[
93
93
[
94
94
[
Original file line number Diff line number Diff line change 1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
1
+ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
2
2
3
- exports [` useReactTable can toggle column visibility: 0 - after toggling all off 1` ] = `
3
+ exports [` useReactTable > can toggle column visibility > 0 - after toggling all off 1` ] = `
4
4
{
5
5
" footers" : [
6
6
[],
@@ -20,7 +20,7 @@ exports[`useReactTable can toggle column visibility: 0 - after toggling all off
20
20
}
21
21
` ;
22
22
23
- exports [` useReactTable can toggle column visibility: 1 - after toggling all on 1` ] = `
23
+ exports [` useReactTable > can toggle column visibility > 1 - after toggling all on 1` ] = `
24
24
{
25
25
" footers" : [
26
26
[
@@ -163,7 +163,7 @@ exports[`useReactTable can toggle column visibility: 1 - after toggling all on 1
163
163
}
164
164
` ;
165
165
166
- exports [` useReactTable can toggle column visibility: 2 - after toggling firstName off 1` ] = `
166
+ exports [` useReactTable > can toggle column visibility > 2 - after toggling firstName off 1` ] = `
167
167
{
168
168
" footers" : [
169
169
[
@@ -287,7 +287,7 @@ exports[`useReactTable can toggle column visibility: 2 - after toggling firstNam
287
287
}
288
288
` ;
289
289
290
- exports [` useReactTable can toggle column visibility: 3 - after toggling More Info off 1` ] = `
290
+ exports [` useReactTable > can toggle column visibility > 3 - after toggling More Info off 1` ] = `
291
291
{
292
292
" footers" : [
293
293
[
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ import '@testing-library/jest-dom'
Original file line number Diff line number Diff line change
1
+ import { defineConfig } from 'vitest/config'
2
+
3
+ export default defineConfig ( {
4
+ test : {
5
+ watch : false ,
6
+ setupFiles : [ 'test-setup.ts' ] ,
7
+ environment : 'jsdom' ,
8
+ globals : true ,
9
+ dir : 'packages'
10
+ }
11
+ } )
You can’t perform that action at this time.
0 commit comments