@@ -15,12 +15,20 @@ Ran all test suites."
1515
1616exports[`on node >=24 invalid JS in jest.config.ts (node with native TS support) 1`] = `
1717"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."
1925`;
2026
2127exports[`on node ^23.6 invalid JS in jest.config.ts (node with native TS support) 1`] = `
2228"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)'
2432 ,----
2533 1 | export default i'll break this file yo
2634 : ^^^^^^^^^^^^^^^^^^^^^^
@@ -29,7 +37,12 @@ exports[`on node ^23.6 invalid JS in jest.config.ts (node with native TS support
2937 ,----
3038 1 | export default i'll break this file yo
3139 : ^^^^^^^^^^^^^^^^^^^^^^
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."
3346`;
3447
3548exports[`traverses directory tree up until it finds jest.config 1`] = `
0 commit comments