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
ts-jest[versions] (WARN) Version 2.5.3 of typescript installed has not been tested with ts-jest. If you're experiencing issues, consider using a supported version (>=2.7.0 <4.0.0). Please do not report issues in ts-jest if you are using unsupported versions.
31
+
FAIL ./main.spec.ts
32
+
● Test suite failed to run
33
+
34
+
TypeError: Cannot read property 'maxNodeModuleJsDepth' of undefined
35
+
36
+
at Object.createProgram (../../__templates__/with-unsupported-version/node_modules/typescript/lib/typescript.js:69709:51)
ts-jest[versions] (WARN) Version 2.5.3 of typescript installed has not been tested with ts-jest. If you're experiencing issues, consider using a supported version (>=2.7.0 <4.0.0). Please do not report issues in ts-jest if you are using unsupported versions.
140
+
FAIL ./main.spec.ts
141
+
● Test suite failed to run
142
+
143
+
TypeError: Cannot read property 'maxNodeModuleJsDepth' of undefined
144
+
145
+
at Object.createProgram (../../__templates__/with-unsupported-version/node_modules/typescript/lib/typescript.js:69709:51)
exports[`language service should report diagnostics related to typings with pathRegex config matches file name 1`] =`
22
45
"TypeScript diagnostics (customize using \`[jest-config].globals.ts-jest.diagnostics\` option):
23
-
foo.ts(3,7): error TS2322: Type 'number' is not assignable to type 'string'."
46
+
test-match-regex-diagnostics.ts(3,7): error TS2322: Type 'number' is not assignable to type 'string'."
47
+
`;
48
+
49
+
exports[`language service should throw error when cannot compile 1`] =`
50
+
"Unable to require \`.d.ts\` file for file: test-cannot-compile.d.ts.
51
+
This is usually the result of a faulty configuration or import. Make sure there is a \`.js\`, \`.json\` or another executable extension available alongside \`test-cannot-compile.d.ts\`."
24
52
`;
25
53
26
54
exports[`language service should use the cache 3`] =`
exports[`cannot compile should throw error with incremental program 1`] =`
40
+
"Unable to require \`.d.ts\` file for file: test-cannot-compile.d.ts.
41
+
This is usually the result of a faulty configuration or import. Make sure there is a \`.js\`, \`.json\` or another executable extension available alongside \`test-cannot-compile.d.ts\`."
42
+
`;
43
+
44
+
exports[`cannot compile should throw error with normal program 1`] =`
45
+
"Unable to require \`.d.ts\` file for file: test-cannot-compile.d.ts.
46
+
This is usually the result of a faulty configuration or import. Make sure there is a \`.js\`, \`.json\` or another executable extension available alongside \`test-cannot-compile.d.ts\`."
47
+
`;
48
+
49
+
exports[`jsx preserve should compile tsx file for jsx preserve with incremental program 1`] =`
0 commit comments