Skip to content

Commit 5648752

Browse files
committed
docs: add mts and cts to default moduleFileExtensions config
1 parent 65e6b2e commit 5648752

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,7 @@ export default config;
930930

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

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

935935
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.
936936

0 commit comments

Comments
 (0)