Skip to content

Commit

Permalink
tweak check
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Feb 1, 2019
1 parent e30e4ac commit 09cb24b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jest-runtime/src/index.js
Expand Up @@ -946,7 +946,7 @@ class Runtime {
return jestObject;
};
const _getFakeTimers = () => {
if (!this._environment.fakeTimers) {
if (!this._fakeTimersImplementation) {
this._logFormattedReferenceError(
'You are trying to access a property or method of the Jest environment after it has been torn down.',
);
Expand Down

0 comments on commit 09cb24b

Please sign in to comment.