Skip to content

Commit

Permalink
Remove eagerly evaluated jasmine from jest-runner (jestjs#6360)
Browse files Browse the repository at this point in the history
  • Loading branch information
thymikee authored and cpojer committed May 31, 2018
1 parent 29a5491 commit aff9681
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/jest-runner/src/run_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import {
getConsoleOutput,
setGlobal,
} from 'jest-util';
import jasmine2 from 'jest-jasmine2';
import LeakDetector from 'jest-leak-detector';
import {getTestEnvironment} from 'jest-config';
import * as docblock from 'jest-docblock';
Expand All @@ -33,10 +32,6 @@ type RunTestInternalResult = {
result: TestResult,
};

// The default jest-runner is required because it is the default test runner
// and required implicitly through the `testRunner` ProjectConfig option.
jasmine2;

// Keeping the core of "runTest" as a separate function (as "runTestInternal")
// is key to be able to detect memory leaks. Since all variables are local to
// the function, when "runTestInternal" finishes its execution, they can all be
Expand Down

0 comments on commit aff9681

Please sign in to comment.