diff --git a/e2e/__tests__/__snapshots__/native-esm-js.test.ts.snap b/e2e/__tests__/__snapshots__/native-esm-js.test.ts.snap index c12acbded4..d300a7b3a6 100644 --- a/e2e/__tests__/__snapshots__/native-esm-js.test.ts.snap +++ b/e2e/__tests__/__snapshots__/native-esm-js.test.ts.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`on node >=12.16.0 runs test with native ESM and isolatedModules: false 1`] = ` +exports[`on node >=14.15.0 runs test with native ESM and isolatedModules: false 1`] = ` Test Suites: 1 passed, 1 total Tests: 21 passed, 21 total Snapshots: 0 total @@ -8,7 +8,7 @@ Time: <> Ran all test suites matching /native-esm.spec.ts/i. `; -exports[`on node >=12.16.0 runs test with native ESM and isolatedModules: true 1`] = ` +exports[`on node >=14.15.0 runs test with native ESM and isolatedModules: true 1`] = ` Test Suites: 1 passed, 1 total Tests: 21 passed, 21 total Snapshots: 0 total diff --git a/e2e/__tests__/extend-ts-jest.test.ts b/e2e/__tests__/extend-ts-jest.test.ts index 4120cebedd..58ce217a6d 100644 --- a/e2e/__tests__/extend-ts-jest.test.ts +++ b/e2e/__tests__/extend-ts-jest.test.ts @@ -3,7 +3,7 @@ import { json as runWithJson, onNodeVersions } from '../run-jest' const DIR = 'extend-ts-jest' // Only need to test in ESM because ESM makes `this` context become `undefined` -onNodeVersions('>=12.16.0', () => { +onNodeVersions('>=14.15.0', () => { test(`successfully runs the tests inside ${DIR}`, () => { const { json } = runWithJson(DIR, undefined, { nodeOptions: '--experimental-vm-modules --no-warnings', diff --git a/e2e/__tests__/native-esm-js.test.ts b/e2e/__tests__/native-esm-js.test.ts index c6dbd23e8d..9c84f9b70c 100644 --- a/e2e/__tests__/native-esm-js.test.ts +++ b/e2e/__tests__/native-esm-js.test.ts @@ -9,7 +9,7 @@ const DIR = path.resolve(__dirname, '..', 'native-esm-js', 'non-isolated') const ISOLATED_MODULES_DIR = path.resolve(__dirname, '..', 'native-esm-js', 'isolated') // The versions where vm.Module exists and commonjs with "exports" is not broken -onNodeVersions('>=12.16.0', () => { +onNodeVersions('>=14.15.0', () => { test('runs test with native ESM and isolatedModules: false', () => { const { exitCode, stderr, stdout } = runJest(DIR, ['native-esm.spec.ts'], { nodeOptions: '--experimental-vm-modules --no-warnings', diff --git a/e2e/__tests__/native-esm-ts.test.ts b/e2e/__tests__/native-esm-ts.test.ts index 7fdc21753d..3eb3189ca0 100644 --- a/e2e/__tests__/native-esm-ts.test.ts +++ b/e2e/__tests__/native-esm-ts.test.ts @@ -1,7 +1,7 @@ import { onNodeVersions, json as runWithJson } from '../run-jest' // The versions where vm.Module exists and commonjs with "exports" is not broken -onNodeVersions('>=12.16.0', () => { +onNodeVersions('>=14.15.0', () => { test('runs TS test with native ESM', () => { const { exitCode, json } = runWithJson('native-esm-ts', [], { nodeOptions: '--experimental-vm-modules --no-warnings',