Skip to content

Commit

Permalink
fix import after ESM revert
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Jan 18, 2019
1 parent 8629458 commit 650a23e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/jest-cli/src/runGlobalHook.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import type {Test} from 'types/TestRunner';
import {extname} from 'path';
import pEachSeries from 'p-each-series';
import {addHook} from 'pirates';
import {ScriptTransformer} from 'jest-runtime';
import Runtime from 'jest-runtime';

export default ({
allTests,
Expand Down Expand Up @@ -47,7 +47,7 @@ export default ({
: // Fallback to first config
allTests[0].context.config;

const transformer = new ScriptTransformer(projectConfig);
const transformer = new Runtime.ScriptTransformer(projectConfig);

const revertHook = addHook(
(code, filename) =>
Expand Down

0 comments on commit 650a23e

Please sign in to comment.