You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/lib/__snapshots__/backports.spec.ts.snap
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ Object {
16
16
}
17
17
`;
18
18
19
-
exports[`backportJestConfig with "globals.__TRANSFORM_HTML__" set to false should wran the user 1`] =`"ts-jest: \\"[jest-config].globals.__TRANSFORM_HTML__\\" is deprecated, use \\"[jest-config].globals.ts-jest.stringifyContentPathRegex\\" instead."`;
19
+
exports[`backportJestConfig with "globals.__TRANSFORM_HTML__" set to false should wran the user 1`] =`"warn ts-jest: \\"[jest-config].globals.__TRANSFORM_HTML__\\" is deprecated, use \\"[jest-config].globals.ts-jest.stringifyContentPathRegex\\" instead."`;
20
20
21
21
exports[`backportJestConfig with "globals.__TRANSFORM_HTML__" set to true should have changed the config correctly: before 1`] =`
22
22
Object {
@@ -36,7 +36,7 @@ Object {
36
36
}
37
37
`;
38
38
39
-
exports[`backportJestConfig with "globals.__TRANSFORM_HTML__" set to true should wran the user 1`] =`"ts-jest: \\"[jest-config].globals.__TRANSFORM_HTML__\\" is deprecated, use \\"[jest-config].globals.ts-jest.stringifyContentPathRegex\\" instead."`;
39
+
exports[`backportJestConfig with "globals.__TRANSFORM_HTML__" set to true should wran the user 1`] =`"warn ts-jest: \\"[jest-config].globals.__TRANSFORM_HTML__\\" is deprecated, use \\"[jest-config].globals.ts-jest.stringifyContentPathRegex\\" instead."`;
40
40
41
41
exports[`backportJestConfig with "globals.__TS_CONFIG__" set to {foo: 'bar'} should have changed the config correctly: before 1`] =`
42
42
Object {
@@ -60,7 +60,7 @@ Object {
60
60
}
61
61
`;
62
62
63
-
exports[`backportJestConfig with "globals.__TS_CONFIG__" set to {foo: 'bar'} should wran the user 1`] =`"ts-jest: \\"[jest-config].globals.__TS_CONFIG__\\" is deprecated, use \\"[jest-config].globals.ts-jest.tsConfig\\" instead."`;
63
+
exports[`backportJestConfig with "globals.__TS_CONFIG__" set to {foo: 'bar'} should wran the user 1`] =`"warn ts-jest: \\"[jest-config].globals.__TS_CONFIG__\\" is deprecated, use \\"[jest-config].globals.ts-jest.tsConfig\\" instead."`;
64
64
65
65
exports[`backportJestConfig with "globals.ts-jest.enableTsDiagnostics" set to '\\\\.spec\\\\.ts$' should have changed the config correctly: before 1`] =`
66
66
Object {
@@ -84,7 +84,7 @@ Object {
84
84
}
85
85
`;
86
86
87
-
exports[`backportJestConfig with "globals.ts-jest.enableTsDiagnostics" set to '\\\\.spec\\\\.ts$' should wran the user 1`] =`"ts-jest: \\"[jest-config].globals.ts-jest.enableTsDiagnostics\\" is deprecated, use \\"[jest-config].globals.ts-jest.diagnostics\\" instead."`;
87
+
exports[`backportJestConfig with "globals.ts-jest.enableTsDiagnostics" set to '\\\\.spec\\\\.ts$' should wran the user 1`] =`"warn ts-jest: \\"[jest-config].globals.ts-jest.enableTsDiagnostics\\" is deprecated, use \\"[jest-config].globals.ts-jest.diagnostics\\" instead."`;
88
88
89
89
exports[`backportJestConfig with "globals.ts-jest.enableTsDiagnostics" set to false should have changed the config correctly: before 1`] =`
90
90
Object {
@@ -106,7 +106,7 @@ Object {
106
106
}
107
107
`;
108
108
109
-
exports[`backportJestConfig with "globals.ts-jest.enableTsDiagnostics" set to false should wran the user 1`] =`"ts-jest: \\"[jest-config].globals.ts-jest.enableTsDiagnostics\\" is deprecated, use \\"[jest-config].globals.ts-jest.diagnostics\\" instead."`;
109
+
exports[`backportJestConfig with "globals.ts-jest.enableTsDiagnostics" set to false should wran the user 1`] =`"warn ts-jest: \\"[jest-config].globals.ts-jest.enableTsDiagnostics\\" is deprecated, use \\"[jest-config].globals.ts-jest.diagnostics\\" instead."`;
110
110
111
111
exports[`backportJestConfig with "globals.ts-jest.enableTsDiagnostics" set to true should have changed the config correctly: before 1`] =`
112
112
Object {
@@ -128,7 +128,7 @@ Object {
128
128
}
129
129
`;
130
130
131
-
exports[`backportJestConfig with "globals.ts-jest.enableTsDiagnostics" set to true should wran the user 1`] =`"ts-jest: \\"[jest-config].globals.ts-jest.enableTsDiagnostics\\" is deprecated, use \\"[jest-config].globals.ts-jest.diagnostics\\" instead."`;
131
+
exports[`backportJestConfig with "globals.ts-jest.enableTsDiagnostics" set to true should wran the user 1`] =`"warn ts-jest: \\"[jest-config].globals.ts-jest.enableTsDiagnostics\\" is deprecated, use \\"[jest-config].globals.ts-jest.diagnostics\\" instead."`;
132
132
133
133
exports[`backportJestConfig with "globals.ts-jest.skipBabel" set to false should have changed the config correctly: before 1`] =`
134
134
Object {
@@ -150,7 +150,7 @@ Object {
150
150
}
151
151
`;
152
152
153
-
exports[`backportJestConfig with "globals.ts-jest.skipBabel" set to false should wran the user 1`] =`"ts-jest: \\"[jest-config].globals.ts-jest.skipBabel\\" is deprecated, use \\"[jest-config].globals.ts-jest.babelConfig\\" instead."`;
153
+
exports[`backportJestConfig with "globals.ts-jest.skipBabel" set to false should wran the user 1`] =`"warn ts-jest: \\"[jest-config].globals.ts-jest.skipBabel\\" is deprecated, use \\"[jest-config].globals.ts-jest.babelConfig\\" instead."`;
154
154
155
155
exports[`backportJestConfig with "globals.ts-jest.skipBabel" set to true should have changed the config correctly: before 1`] =`
156
156
Object {
@@ -170,7 +170,7 @@ Object {
170
170
}
171
171
`;
172
172
173
-
exports[`backportJestConfig with "globals.ts-jest.skipBabel" set to true should wran the user 1`] =`"ts-jest: \\"[jest-config].globals.ts-jest.skipBabel\\" is deprecated, use \\"[jest-config].globals.ts-jest.babelConfig\\" instead."`;
173
+
exports[`backportJestConfig with "globals.ts-jest.skipBabel" set to true should wran the user 1`] =`"warn ts-jest: \\"[jest-config].globals.ts-jest.skipBabel\\" is deprecated, use \\"[jest-config].globals.ts-jest.babelConfig\\" instead."`;
174
174
175
175
exports[`backportJestConfig with "globals.ts-jest.tsConfigFile" set to 'tsconfig.build.json' should have changed the config correctly: before 1`] =`
176
176
Object {
@@ -192,7 +192,7 @@ Object {
192
192
}
193
193
`;
194
194
195
-
exports[`backportJestConfig with "globals.ts-jest.tsConfigFile" set to 'tsconfig.build.json' should wran the user 1`] =`"ts-jest: \\"[jest-config].globals.ts-jest.tsConfigFile\\" is deprecated, use \\"[jest-config].globals.ts-jest.tsConfig\\" instead."`;
195
+
exports[`backportJestConfig with "globals.ts-jest.tsConfigFile" set to 'tsconfig.build.json' should wran the user 1`] =`"warn ts-jest: \\"[jest-config].globals.ts-jest.tsConfigFile\\" is deprecated, use \\"[jest-config].globals.ts-jest.tsConfig\\" instead."`;
196
196
197
197
exports[`backportJestConfig with "globals.ts-jest.useBabelrc" set to false should have changed the config correctly: before 1`] =`
198
198
Object {
@@ -215,7 +215,7 @@ Object {
215
215
`;
216
216
217
217
exports[`backportJestConfig with "globals.ts-jest.useBabelrc" set to false should wran the user 1`] =`
218
-
"ts-jest: \\"[jest-config].globals.ts-jest.useBabelrc\\" is deprecated, use \\"[jest-config].globals.ts-jest.babelConfig\\" instead.
218
+
"warn ts-jest: \\"[jest-config].globals.ts-jest.useBabelrc\\" is deprecated, use \\"[jest-config].globals.ts-jest.babelConfig\\" instead.
219
219
↳ See \`babel-jest\` related issue: https://github.com/facebook/jest/issues/3845"
220
220
`;
221
221
@@ -240,6 +240,6 @@ Object {
240
240
`;
241
241
242
242
exports[`backportJestConfig with "globals.ts-jest.useBabelrc" set to true should wran the user 1`] =`
243
-
"ts-jest: \\"[jest-config].globals.ts-jest.useBabelrc\\" is deprecated, use \\"[jest-config].globals.ts-jest.babelConfig\\" instead.
243
+
"warn ts-jest: \\"[jest-config].globals.ts-jest.useBabelrc\\" is deprecated, use \\"[jest-config].globals.ts-jest.babelConfig\\" instead.
244
244
↳ See \`babel-jest\` related issue: https://github.com/facebook/jest/issues/3845"
0 commit comments