diff --git a/e2e/__tests__/__snapshots__/showConfig.test.ts.snap b/e2e/__tests__/__snapshots__/showConfig.test.ts.snap index 24f96159efa7..5d77f17734c0 100644 --- a/e2e/__tests__/__snapshots__/showConfig.test.ts.snap +++ b/e2e/__tests__/__snapshots__/showConfig.test.ts.snap @@ -40,6 +40,8 @@ exports[`--showConfig outputs config info and exits 1`] = ` "cjs", "jsx", "ts", + "mts", + "cts", "tsx", "json", "node" diff --git a/e2e/__tests__/__snapshots__/testMatchTs.test.ts.snap b/e2e/__tests__/__snapshots__/testMatchTs.test.ts.snap new file mode 100644 index 000000000000..9af319324f07 --- /dev/null +++ b/e2e/__tests__/__snapshots__/testMatchTs.test.ts.snap @@ -0,0 +1,9 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`testMatch should able to match file with cts and mts extension 1`] = ` +"Test Suites: 2 passed, 2 total +Tests: 2 passed, 2 total +Snapshots: 0 total +Time: <> +Ran all test suites." +`; diff --git a/packages/jest-cli/src/init/__tests__/__snapshots__/init.test.ts.snap b/packages/jest-cli/src/init/__tests__/__snapshots__/init.test.ts.snap index f28f12ec94ca..18117e951fd4 100644 --- a/packages/jest-cli/src/init/__tests__/__snapshots__/init.test.ts.snap +++ b/packages/jest-cli/src/init/__tests__/__snapshots__/init.test.ts.snap @@ -202,6 +202,8 @@ const config: Config = { // "cjs", // "jsx", // "ts", + // "mts", + // "cts", // "tsx", // "json", // "node" @@ -404,6 +406,8 @@ const config = { // "cjs", // "jsx", // "ts", + // "mts", + // "cts", // "tsx", // "json", // "node" @@ -606,6 +610,8 @@ const config = { // "cjs", // "jsx", // "ts", + // "mts", + // "cts", // "tsx", // "json", // "node"