Skip to content

Commit 65e6b2e

Browse files
committed
fix: add mts and cts to moduleFileExtensions
1 parent f07deb8 commit 65e6b2e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/jest-config/src/ValidConfig.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ export const initialOptions: Config.InitialOptions = {
103103
'json',
104104
'jsx',
105105
'ts',
106+
'mts',
107+
'cts',
106108
'tsx',
107109
'node',
108110
],
@@ -258,6 +260,8 @@ export const initialProjectOptions: Config.InitialProjectOptions = {
258260
'json',
259261
'jsx',
260262
'ts',
263+
'mts',
264+
'cts',
261265
'tsx',
262266
'node',
263267
],

0 commit comments

Comments
 (0)