fix: fix running test into Docker container

This commit is contained in:
Juan Picado @jotadeveloper 2017-12-08 11:59:32 +01:00 committed by juanpicado
parent edf2ff343d
commit 275dca11e1
2 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@ RUN npm config set registry http://registry.npmjs.org/ && \
npm install -g -s flow-bin@0.60.0 && \
yarn install --production=false && \
yarn run lint && \
yarn run test && \
yarn run code:build && \
yarn run build:webui && \
yarn cache clean && \

View File

@ -136,7 +136,7 @@
"prepublish": "in-publish && npm run build:webui || not-in-publish",
"flow": "flow",
"pretest": "npm run code:build",
"test": "cross-env BABEL_ENV=test jest",
"test": "cross-env NODE_ENV=test BABEL_ENV=test jest",
"pre:ci": "npm run lint && npm run build:webui",
"coverage:publish": "codecov",
"lint": "npm run flow && eslint .",