@@ -15,12 +15,20 @@ Ran all test suites."
15
15
16
16
exports[`on node >=24 invalid JS in jest.config.ts (node with native TS support) 1`] = `
17
17
"Error: Jest: Failed to parse the TypeScript config file <<REPLACED >>
18
- SyntaxError [ERR_INVALID_TYPESCRIPT_SYNTAX]: Expected ';', got 'string literal (ll break this file yo, 'll break this file yo)'"
18
+ both with the native node TypeScript support and configured TypeScript loaders.
19
+ Errors were:
20
+ - SyntaxError [ERR_INVALID_TYPESCRIPT_SYNTAX]: Expected ';', got 'string literal (ll break this file yo, 'll break this file yo)'
21
+ - TSError: ⨯ Unable to compile TypeScript:
22
+ jest.config.ts(1,16): error TS2304: Cannot find name 'i'.
23
+ jest.config.ts(1,17): error TS1005: ';' expected.
24
+ jest.config.ts(1,39): error TS1002: Unterminated string literal."
19
25
`;
20
26
21
27
exports[`on node ^23.6 invalid JS in jest.config.ts (node with native TS support) 1`] = `
22
28
"Error: Jest: Failed to parse the TypeScript config file <<REPLACED >>
23
- SyntaxError [ERR_INVALID_TYPESCRIPT_SYNTAX]: x Expected ';', got 'string literal (ll break this file yo, 'll break this file yo)'
29
+ both with the native node TypeScript support and configured TypeScript loaders.
30
+ Errors were:
31
+ - SyntaxError [ERR_INVALID_TYPESCRIPT_SYNTAX]: x Expected ';', got 'string literal (ll break this file yo, 'll break this file yo)'
24
32
,----
25
33
1 | export default i'll break this file yo
26
34
: ^^^^^^^^^^^^^^^^^^^^^^
@@ -29,7 +37,12 @@ exports[`on node ^23.6 invalid JS in jest.config.ts (node with native TS support
29
37
,----
30
38
1 | export default i'll break this file yo
31
39
: ^^^^^^^^^^^^^^^^^^^^^^
32
- \`----"
40
+ \`----
41
+
42
+ - TSError: ⨯ Unable to compile TypeScript:
43
+ jest.config.ts(1,16): error TS2304: Cannot find name 'i'.
44
+ jest.config.ts(1,17): error TS1005: ';' expected.
45
+ jest.config.ts(1,39): error TS1002: Unterminated string literal."
33
46
`;
34
47
35
48
exports[`traverses directory tree up until it finds jest.config 1`] = `
0 commit comments