File tree Expand file tree Collapse file tree 8 files changed +458
-461
lines changed
.github/actions/setup-test-env Expand file tree Collapse file tree 8 files changed +458
-461
lines changed Original file line number Diff line number Diff line change 26
26
27
27
- name : Install dependencies
28
28
shell : bash
29
- run : pnpm install
29
+ run : |
30
+ pnpm install
31
+ pnpm exec playwright install
Original file line number Diff line number Diff line change 46
46
"eslint-plugin-react-hooks" : " ^4.6.0" ,
47
47
"expect-playwright" : " ^0.8.0" ,
48
48
"fs-extra" : " ^11.1.0" ,
49
- "jest" : " ^28.1.3 " ,
49
+ "jest" : " ^29.7.0 " ,
50
50
"playwright-chromium" : " ^1.39.0" ,
51
51
"prettier" : " ^2.8.8" ,
52
52
"prettier-plugin-organize-imports" : " ^3.2.3" ,
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ module.exports = {
31
31
// ],
32
32
33
33
// Indicates which provider should be used to instrument code for coverage
34
- coverageProvider : 'v8' ,
34
+ // coverageProvider: 'v8',
35
35
36
36
// A list of reporter names that Jest uses when writing coverage reports
37
37
// coverageReporters: [
Original file line number Diff line number Diff line change 80
80
"@swc/core" : " ^1.3.95" ,
81
81
"@swc/jest" : " ^0.2.29" ,
82
82
"@types/connect" : " ^3.4.35" ,
83
- "@types/jest" : " ^26.0.24 " ,
83
+ "@types/jest" : " ^29.5.6 " ,
84
84
"@types/node" : " ^18.11.9" ,
85
85
"@types/react" : " ^17.0.43" ,
86
86
"@types/react-dom" : " ^17.0.11" ,
90
90
"cheerio" : " ^1.0.0-rc.12" ,
91
91
"fastify" : " ^3.29.0" ,
92
92
"gitpkg" : " ^1.0.0-beta.2" ,
93
- "jest" : " ^28.1.3 " ,
93
+ "jest" : " ^29.7.0 " ,
94
94
"npm-run-all" : " ^4.1.5" ,
95
95
"pino-pretty" : " ^4.8.0" ,
96
96
"react" : " 0.0.0-experimental-4ead6b530" ,
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export const port = 3000 + parseInt(process.env.JEST_WORKER_ID!) - 1
20
20
export const rootURL = `http://localhost:${ port } `
21
21
22
22
beforeAll ( async ( ) => {
23
- const testPath = expect . getState ( ) . testPath
23
+ const testPath = expect . getState ( ) . testPath !
24
24
// eslint-disable-next-line @typescript-eslint/prefer-regexp-exec
25
25
const testName = slash ( testPath ) . match ( / t e s t - a p p s \/ ( [ \w - ] + ) \/ / ) ?. [ 1 ]
26
26
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ module.exports = {
31
31
// ],
32
32
33
33
// Indicates which provider should be used to instrument code for coverage
34
- coverageProvider : 'v8' ,
34
+ // coverageProvider: 'v8',
35
35
36
36
// A list of reporter names that Jest uses when writing coverage reports
37
37
// coverageReporters: [
Original file line number Diff line number Diff line change 20
20
"@playwright/test" : " ^1.39.0" ,
21
21
"@swc/core" : " ^1.3.95" ,
22
22
"@swc/jest" : " ^0.2.29" ,
23
- "@types/jest" : " ^26.0.24 " ,
23
+ "@types/jest" : " ^29.5.6 " ,
24
24
"@types/node" : " ^18.11.9" ,
25
25
"@types/react" : " ^17.0.43" ,
26
26
"@types/react-dom" : " ^17.0.11" ,
27
27
"html-validator" : " ^5.1.18" ,
28
- "jest-playwright-preset" : " ^2 .0.0 " ,
28
+ "jest-playwright-preset" : " ^3 .0.1 " ,
29
29
"typescript" : " ^5.2.2"
30
30
}
31
31
}
You can’t perform that action at this time.
0 commit comments