From b04a7ce720387b13320d7e3ca8099b8eec0cab7c Mon Sep 17 00:00:00 2001 From: Matthew Peveler Date: Sun, 8 Jan 2023 09:10:02 -0500 Subject: [PATCH] fix: add missing package.json type to tsIntegration tests --- 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);