Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: jest-util should not depend on jest-mock
  • Loading branch information
SimenB committed Nov 30, 2017
commit cf841e3d5b48ce6f41db3f2fb98919fd845eb955
4 changes: 3 additions & 1 deletion packages/jest-util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@
"chalk": "^2.0.1",
"graceful-fs": "^4.1.11",
"jest-message-util": "^21.2.1",
"jest-mock": "^21.2.0",
"jest-validate": "^21.2.1",
"mkdirp": "^0.5.1"
},
"devDependencies": {
"jest-mock": "^21.2.0"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's imported directly in the tests

}
}
2 changes: 1 addition & 1 deletion packages/jest-util/src/fake_timers.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

import type {ProjectConfig} from 'types/Config';
import type {Global} from 'types/Global';
import type {ModuleMocker} from 'jest-mock';
import type {ModuleMocker} from 'types/Mock';

import {formatStackTrace} from 'jest-message-util';
import setGlobal from './set_global';
Expand Down