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: e2e/__tests__/__snapshots__/const-enum.test.ts.snap
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ exports[`partial successfully runs the tests inside const-enum with 'isolatedMod
9
9
However, Jest was able to find:
10
10
'../hoo-constant.d.ts'
11
11
12
-
You might want to include a file extension in your import, or update your 'moduleFileExtensions', which is currently ['js', 'jsx', 'ts', 'tsx', 'json', 'node'].
12
+
You might want to include a file extension in your import, or update your 'moduleFileExtensions', which is currently ['js', 'mjs', 'cjs', 'jsx', 'ts', 'tsx', 'json', 'node'].
13
13
14
14
See https://jestjs.io/docs/configuration#modulefileextensions-arraystring
15
15
@@ -19,7 +19,7 @@ exports[`partial successfully runs the tests inside const-enum with 'isolatedMod
19
19
3 | const getTwo = (): string => HooConstEnum.two
20
20
4 |
21
21
22
-
at Resolver.resolveModule (../../node_modules/jest-resolve/build/resolver.js:324:11)
22
+
at Resolver._throwModNotFoundError (../../node_modules/jest-resolve/build/resolver.js:493:11)
23
23
at Object.<anonymous> (__tests__/import-from-d-ts-no-js.spec.ts:1:1)
Copy file name to clipboardExpand all lines: e2e/__tests__/__snapshots__/enum.test.ts.snap
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
-
exports[`partial successfully runs the tests inside \`enum/\` with \`isolatedModules: false\` 1`] =`
3
+
exports[`partial successfully runs the tests inside enum with 'isolatedModules: false' 1`] =`
4
4
"FAIL __tests__/import-from-d-ts-no-js.spec.ts
5
5
● Test suite failed to run
6
6
@@ -9,24 +9,24 @@ exports[`partial successfully runs the tests inside \`enum/\` with \`isolatedMod
9
9
However, Jest was able to find:
10
10
'../hoo-constant.d.ts'
11
11
12
-
You might want to include a file extension in your import, or update your 'moduleFileExtensions', which is currently ['js', 'jsx', 'ts', 'tsx', 'json', 'node'].
12
+
You might want to include a file extension in your import, or update your 'moduleFileExtensions', which is currently ['js', 'mjs', 'cjs', 'jsx', 'ts', 'tsx', 'json', 'node'].
13
13
14
14
See https://jestjs.io/docs/configuration#modulefileextensions-arraystring
15
15
16
-
> 1 | import {HooEnum} from '../hoo-constant'
16
+
> 1 | import {FooEnum} from '../hoo-constant'
17
17
| ^
18
18
2 |
19
-
3 | const getTwo = (): string => HooEnum.two
19
+
3 | const getTwo = (): string => FooEnum.two
20
20
4 |
21
21
22
-
at Resolver.resolveModule (../../node_modules/jest-resolve/build/resolver.js:324:11)
22
+
at Resolver._throwModNotFoundError (../../node_modules/jest-resolve/build/resolver.js:493:11)
23
23
at Object.<anonymous> (__tests__/import-from-d-ts-no-js.spec.ts:1:1)
24
24
25
25
PASS __tests__/import-from-d-ts-has-js.spec.ts
26
26
PASS __tests__/import-from-ts.spec.ts"
27
27
`;
28
28
29
-
exports[`partial successfully runs the tests inside \`enum/\` with \`isolatedModules: true\` 1`] = `
29
+
exports[`partial successfully runs the tests inside enum with 'isolatedModules: true' 1`] = `
30
30
"FAIL __tests__/import-from-d-ts-no-js.spec.ts
31
31
● Test suite failed to run
32
32
@@ -35,17 +35,17 @@ exports[`partial successfully runs the tests inside \`enum/\` with \`isolatedMod
35
35
However, Jest was able to find:
36
36
'../hoo-constant.d.ts'
37
37
38
-
You might want to include a file extension in your import, or update your 'moduleFileExtensions', which is currently ['js', 'jsx', 'ts', 'tsx', 'json', 'node'].
38
+
You might want to include a file extension in your import, or update your 'moduleFileExtensions', which is currently ['js', 'mjs', 'cjs', 'jsx', 'ts', 'tsx', 'json', 'node'].
39
39
40
40
See https://jestjs.io/docs/configuration#modulefileextensions-arraystring
41
41
42
-
> 1 | import {HooEnum} from '../hoo-constant'
42
+
> 1 | import {FooEnum} from '../hoo-constant'
43
43
| ^
44
44
2 |
45
-
3 | const getTwo = (): string => HooEnum.two
45
+
3 | const getTwo = (): string => FooEnum.two
46
46
4 |
47
47
48
-
at Resolver.resolveModule (../../node_modules/jest-resolve/build/resolver.js:324:11)
48
+
at Resolver._throwModNotFoundError (../../node_modules/jest-resolve/build/resolver.js:493:11)
49
49
at Object.<anonymous> (__tests__/import-from-d-ts-no-js.spec.ts:1:1)
0 commit comments