Skip to content

Commit

Permalink
fix peerDependencies with jest
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc committed Aug 17, 2018
1 parent 2b54d63 commit 3052c23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/umi-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"enzyme": "^3.4.1",
"enzyme-adapter-react-16": "^1.2.0",
"identity-obj-proxy": "^3.0.0",
"jest-cli": "^23.5.0",
"jest": "^23.5.0",
"jsdom": "^11.12.0",
"react": "^16.4.2",
"react-dom": "^16.4.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/umi-test/src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import jestCli from 'jest-cli';
import jest from 'jest';
import { join } from 'path';
import { existsSync, statSync } from 'fs';

Expand Down Expand Up @@ -73,7 +73,7 @@ export default function(opts = {}) {
};

return new Promise((resolve, reject) => {
jestCli
jest
.runCLI(
{
watch,
Expand Down

0 comments on commit 3052c23

Please sign in to comment.