Skip to content

Commit 9af2540

Browse files
authored
fix: add missing package.json type to tsIntegration tests (#13743)
1 parent d2420aa commit 9af2540

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

e2e/__tests__/tsIntegration.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ describe('when `Config` type is imported from "@jest/types"', () => {
158158
const config: Config.InitialOptions = {verbose: true};
159159
export default get config;
160160
`,
161-
'package.json': '{}',
161+
'package.json': '{"type": "module"}',
162162
});
163163

164164
const {stderr, exitCode} = runJest(DIR);
@@ -314,7 +314,7 @@ describe('when `Config` type is imported from "jest"', () => {
314314
const config: Config = {verbose: true};
315315
export default get config;
316316
`,
317-
'package.json': '{}',
317+
'package.json': '{"type": "module"}',
318318
});
319319

320320
const {stderr, exitCode} = runJest(DIR);

0 commit comments

Comments
 (0)