Skip to content

Commit

Permalink
fix: add missing package.json type to tsIntegration tests (#13743)
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterOdin committed Jan 8, 2023
1 parent d2420aa commit 9af2540
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/__tests__/tsIntegration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 9af2540

Please sign in to comment.