Skip to content

Commit

Permalink
docs: add mts and cts to default moduleFileExtensions config
Browse files Browse the repository at this point in the history
  • Loading branch information
yinm committed Jul 28, 2023
1 parent 65e6b2e commit 5648752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@ export default config;

### `moduleFileExtensions` \[array<string>]

Default: `["js", "mjs", "cjs", "jsx", "ts", "tsx", "json", "node"]`
Default: `["js", "mjs", "cjs", "jsx", "ts", "mts", "cts", "tsx", "json", "node"]`

An array of file extensions your modules use. If you require modules without specifying a file extension, these are the extensions Jest will look for, in left-to-right order.

Expand Down

0 comments on commit 5648752

Please sign in to comment.