From 9af2540f87e8e0d4f1e0528981529ad1bc30a28a Mon Sep 17 00:00:00 2001 From: Matthew Peveler Date: Sun, 8 Jan 2023 13:36:30 -0500 Subject: [PATCH] fix: add missing package.json type to tsIntegration tests (#13743) --- e2e/__tests__/tsIntegration.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/__tests__/tsIntegration.test.ts b/e2e/__tests__/tsIntegration.test.ts index 44870f4d369d..4f09bd599e0b 100644 --- a/e2e/__tests__/tsIntegration.test.ts +++ b/e2e/__tests__/tsIntegration.test.ts @@ -158,7 +158,7 @@ describe('when `Config` type is imported from "@jest/types"', () => { const config: Config.InitialOptions = {verbose: true}; export default get config; `, - 'package.json': '{}', + 'package.json': '{"type": "module"}', }); const {stderr, exitCode} = runJest(DIR); @@ -314,7 +314,7 @@ describe('when `Config` type is imported from "jest"', () => { const config: Config = {verbose: true}; export default get config; `, - 'package.json': '{}', + 'package.json': '{"type": "module"}', }); const {stderr, exitCode} = runJest(DIR);