Skip to content

Commit

Permalink
Fix jest pluging import default
Browse files Browse the repository at this point in the history
  • Loading branch information
roddolf committed May 2, 2024
1 parent 40e0147 commit 4d21b25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/plugins/jest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const JEST_ARGS_REQUIRED: Arguments = {

export default (argv?: JestArgv) =>
plugin('jest', () => async () => {
const { runCLI } = await import('jest');
const { runCLI } = (await import('jest')).default;
const projects = argv?.projects ?? [argv?.rootDir ?? process.cwd()];

const result = await runCLI({
Expand Down

0 comments on commit 4d21b25

Please sign in to comment.