File tree Expand file tree Collapse file tree 2 files changed +2
-18
lines changed
integrationTests/dev-jest Expand file tree Collapse file tree 2 files changed +2
-18
lines changed Original file line number Diff line number Diff line change 1
1
const jestConfig = {
2
- testEnvironment : 'node' ,
3
-
4
2
testEnvironmentOptions : {
5
3
customExportConditions : [ 'development' ] ,
6
4
} ,
7
-
8
- transform : {
9
- '^.+\\.(t|j)sx?$' : [ '@swc/jest' ] ,
10
- } ,
11
-
12
- transformIgnorePatterns : [
13
- // Allow 'graphql' to be transformed, ignore all other node_modules.
14
- // This regex means: "match /node_modules/ unless it's followed by graphql/"
15
- '/node_modules/(?!graphql/)' ,
16
- // Keep Jest's default for .pnp.js files if using Yarn PnP
17
- '\\.pnp\\.[^\\/]+$' ,
18
- ] ,
19
5
} ;
20
6
21
7
// eslint-disable-next-line no-restricted-exports, import/no-default-export
Original file line number Diff line number Diff line change 1
1
{
2
- "description" : " graphql-js development mode should work with Jest and SWC " ,
2
+ "description" : " graphql-js development mode should work with Jest" ,
3
3
"private" : true ,
4
4
"type" : " module" ,
5
5
"scripts" : {
9
9
"graphql" : " file:../graphql.tgz"
10
10
},
11
11
"devDependencies" : {
12
- "jest" : " ^29.7.0" ,
13
- "@swc/core" : " ^1.6.0" ,
14
- "@swc/jest" : " ^0.2.36"
12
+ "jest" : " ^29.7.0"
15
13
}
16
14
}
You can’t perform that action at this time.
0 commit comments