Skip to content

Commit 67e772d

Browse files
🚨 Support type files
1 parent c071062 commit 67e772d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

jest.config.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,14 @@ export default {
7171
// ],
7272

7373
// An array of file extensions your modules use
74-
// moduleFileExtensions: [
75-
// "js",
76-
// "json",
77-
// "jsx",
78-
// "ts",
79-
// "tsx",
80-
// "node"
81-
// ],
74+
moduleFileExtensions: [
75+
'js',
76+
'json',
77+
'jsx',
78+
'ts',
79+
'd.ts',
80+
'tsx',
81+
],
8282

8383
// A map from regular expressions to module names or to arrays of module names that allow to stub out resources with a single module
8484
// moduleNameMapper: {},

0 commit comments

Comments
 (0)