Skip to content

Commit

Permalink
fix: add mts and cts to moduleFileExtensions
Browse files Browse the repository at this point in the history
  • Loading branch information
yinm committed Jul 28, 2023
1 parent f07deb8 commit 65e6b2e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/jest-config/src/ValidConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ export const initialOptions: Config.InitialOptions = {
'json',
'jsx',
'ts',
'mts',
'cts',
'tsx',
'node',
],
Expand Down Expand Up @@ -258,6 +260,8 @@ export const initialProjectOptions: Config.InitialProjectOptions = {
'json',
'jsx',
'ts',
'mts',
'cts',
'tsx',
'node',
],
Expand Down

0 comments on commit 65e6b2e

Please sign in to comment.