Skip to content

Commit

Permalink
chore: add missing throw
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Apr 25, 2022
1 parent 039f43e commit e1f2515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jest-config/src/normalize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ export default async function normalize(
options.testRunner = require.resolve('jest-jasmine2');
} catch (error: any) {
if (error.code === 'MODULE_NOT_FOUND') {
createConfigError(
throw createConfigError(
'jest-jasmine is no longer shipped by default with Jest, you need to install it explicitly or provide an absolute path to Jest',
);
}
Expand Down

0 comments on commit e1f2515

Please sign in to comment.