Skip to content

Commit

Permalink
fix(package): fix test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
zouxuoz authored and ej9x committed May 21, 2018
1 parent 4d29561 commit 9712c22
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ install:

script:
- yarn eslint
- yarn test
- yarn test --coverage --verbose
- yarn flow
- yarn build

Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"build-storybook": "build-storybook -c storybook -o .out",
"deploy-storybook": "storybook-to-ghpages",
"storybook": "start-storybook -p 9001 -c storybook",
"test": "jest --no-cache --coverage -i --reporters jest-silent-reporter",
"test": "jest",
"eslint": "eslint --ext .jsx,.js --max-warnings=0 src/ storybook/",
"flow": "flow",
"checks": "yarn eslint && yarn flow && yarn test",
Expand Down Expand Up @@ -54,7 +54,6 @@
"flow-bin": "0.66",
"jest": "^22.4.3",
"jest-emotion": "^9.0.0",
"jest-silent-reporter": "^0.0.4",
"lodash": "^4.17.5",
"react": "^16.3.2",
"react-dom": "^16.3.2",
Expand Down
11 changes: 2 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2089,7 +2089,7 @@ [email protected], chalk@^1.0.0, chalk@^1.1.3:
strip-ansi "^3.0.0"
supports-color "^2.0.0"

chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.1, chalk@^2.3.2, chalk@^2.4.1:
chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.2, chalk@^2.4.1:
version "2.4.1"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.1.tgz#18c49ab16a037b6eb0152cc83e3471338215b66e"
dependencies:
Expand Down Expand Up @@ -5402,13 +5402,6 @@ jest-serializer@^22.4.3:
version "22.4.3"
resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-22.4.3.tgz#a679b81a7f111e4766235f4f0c46d230ee0f7436"

jest-silent-reporter@^0.0.4:
version "0.0.4"
resolved "https://registry.yarnpkg.com/jest-silent-reporter/-/jest-silent-reporter-0.0.4.tgz#906f41790ee758cd1682d33263538df20d43074e"
dependencies:
chalk "^2.3.1"
jest-util "^22.3.0"

jest-snapshot@>=20.0.3, jest-snapshot@^22.4.3:
version "22.4.3"
resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-22.4.3.tgz#b5c9b42846ffb9faccb76b841315ba67887362d2"
Expand All @@ -5426,7 +5419,7 @@ jest-specific-snapshot@^0.5.0:
dependencies:
jest-snapshot ">=20.0.3"

jest-util@^22.3.0, jest-util@^22.4.3:
jest-util@^22.4.3:
version "22.4.3"
resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-22.4.3.tgz#c70fec8eec487c37b10b0809dc064a7ecf6aafac"
dependencies:
Expand Down

0 comments on commit 9712c22

Please sign in to comment.