Skip to content

Commit b090179

Browse files
authored
feat: mark TsJestTransformer as legacy (#3451)
1 parent 724d2b0 commit b090179

Some content is hidden

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

45 files changed

+80
-59
lines changed

e2e/ast-transformers/hoist-jest/jest-isolated.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ module.exports = {
1313
react$: '<rootDir>/node_modules/react',
1414
},
1515
transform: {
16-
'^.+.[tj]sx?$': '<rootDir>/../../../dist/index.js',
16+
'^.+.[tj]sx?$': '<rootDir>/../../../legacy.js',
1717
},
1818
}

e2e/ast-transformers/hoist-jest/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"react$": "<rootDir>/node_modules/react"
1717
},
1818
"transform": {
19-
"^.+\\.[tj]sx?$": "<rootDir>/../../../dist/index.js"
19+
"^.+\\.[tj]sx?$": "<rootDir>/../../../legacy.js"
2020
}
2121
}
2222
}

e2e/ast-transformers/transformer-in-ts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
}
1212
},
1313
"transform": {
14-
"^.+\\.[tj]sx?$": "<rootDir>/../../../dist/index.js"
14+
"^.+\\.[tj]sx?$": "<rootDir>/../../../legacy.js"
1515
}
1616
}
1717
}

e2e/ast-transformers/transformer-options/jest-isolated.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ module.exports = {
1616
},
1717
},
1818
transform: {
19-
'^.+.[tj]sx?$': '<rootDir>/../../../dist/index.js',
19+
'^.+.[tj]sx?$': '<rootDir>/../../../legacy.js',
2020
},
2121
}

e2e/ast-transformers/transformer-options/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
}
2121
},
2222
"transform": {
23-
"^.+\\.[tj]sx?$": "<rootDir>/../../../dist/index.js"
23+
"^.+\\.[tj]sx?$": "<rootDir>/../../../legacy.js"
2424
}
2525
}
2626
}

e2e/const-enum/jest-isolated.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ module.exports = {
66
},
77
},
88
transform: {
9-
'^.+.tsx?$': '<rootDir>/../../dist/index.js',
9+
'^.+.tsx?$': '<rootDir>/../../legacy.js',
1010
},
1111
}

e2e/const-enum/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"jest": {
33
"transform": {
4-
"^.+.tsx?$": "<rootDir>/../../dist/index.js"
4+
"^.+.tsx?$": "<rootDir>/../../legacy.js"
55
}
66
}
77
}

e2e/coverage-report/jest-isolated.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ module.exports = {
77
},
88
},
99
transform: {
10-
'^.+.tsx?$': '<rootDir>/../../dist/index.js',
10+
'^.+.tsx?$': '<rootDir>/../../legacy.js',
1111
},
1212
}

e2e/coverage-report/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"!**/coverage/**"
88
],
99
"transform": {
10-
"^.+.tsx?$": "<rootDir>/../../dist/index.js"
10+
"^.+.tsx?$": "<rootDir>/../../legacy.js"
1111
}
1212
}
1313
}

e2e/custom-compiler/ttypescript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111
},
1212
"transform": {
13-
"^.+.tsx?$": "<rootDir>/../../../dist/index.js"
13+
"^.+.tsx?$": "<rootDir>/../../../legacy.js"
1414
}
1515
}
1616
}

0 commit comments

Comments
 (0)