Skip to content

Commit

Permalink
windows :(
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Dec 30, 2018
1 parent 53e8f54 commit da9c958
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/jest-cli/src/runGlobalHook.js
Expand Up @@ -10,12 +10,12 @@
import type {GlobalConfig} from 'types/Config';
import type {Test} from 'types/TestRunner';

import {extname, resolve} from 'path';
import {extname, resolve, sep} from 'path';
import pEachSeries from 'p-each-series';
import {addHook} from 'pirates';
import {ScriptTransformer} from 'jest-runtime';

const inJestsSource = __dirname.includes('packages/jest-cli');
const inJestsSource = __dirname.includes(`packages${sep}jest-cli`);
let packagesRoot;

if (inJestsSource) {
Expand Down

0 comments on commit da9c958

Please sign in to comment.