Skip to content

Commit

Permalink
remove one unnecessary inline
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Jun 9, 2017
1 parent 3c45c08 commit bc2c147
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/jest-runtime/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import fs from 'graceful-fs';
import stripBOM from 'strip-bom';
import ScriptTransformer from './ScriptTransformer';
import shouldInstrument from './shouldInstrument';
import cliArgs from './cli/args';

type Module = {|
children?: Array<any>,
Expand Down Expand Up @@ -265,8 +266,7 @@ class Runtime {
}

static getCLIOptions() {
// TODO: If this is not inline, the repl test fails
return require('./cli/args').options;
return cliArgs.options;
}

requireModule(
Expand Down

0 comments on commit bc2c147

Please sign in to comment.