Skip to content

Commit

Permalink
fixup! Call environment setup/teardown with current path
Browse files Browse the repository at this point in the history
  • Loading branch information
avaly committed Dec 12, 2018
1 parent 92f0050 commit 40d4a83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/jest-environment-jsdom/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import type {Script} from 'vm';
import type {ProjectConfig} from 'types/Config';
import type {EnvironmentOptions} from 'types/Environment';
import type {EnvironmentContext} from 'types/Environment';
import type {Global} from 'types/Global';
import type {ModuleMocker} from 'jest-mock';

Expand All @@ -23,7 +23,7 @@ class JSDOMEnvironment {
errorEventListener: ?Function;
moduleMocker: ?ModuleMocker;

constructor(config: ProjectConfig, options?: EnvironmentOptions = {}) {
constructor(config: ProjectConfig, options?: EnvironmentContext = {}) {
this.dom = new JSDOM(
'<!DOCTYPE html>',
Object.assign(
Expand Down

0 comments on commit 40d4a83

Please sign in to comment.