From 56487528c051ca13fb0e95e01a4476eb4de2dadb Mon Sep 17 00:00:00 2001 From: yinm Date: Fri, 28 Jul 2023 17:59:29 +0900 Subject: [PATCH] docs: add `mts` and `cts` to default `moduleFileExtensions` config --- docs/Configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Configuration.md b/docs/Configuration.md index f60f505bef71..0b1c8d9012ef 100644 --- a/docs/Configuration.md +++ b/docs/Configuration.md @@ -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.