1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-25 11:28:51 +01:00

test - breakout npm script for building for integration tests

This commit is contained in:
kumavis 2018-03-09 13:48:48 -08:00
parent 7ad1421f61
commit 3580196650
2 changed files with 4 additions and 3 deletions

View File

@ -54,8 +54,8 @@ jobs:
- restore_cache:
key: scss-cache-{{ checksum "scss_checksum" }}
- run:
name: Build Scss
command: gulp build:scss
name: Build for integration tests
command: test:integration:build
- save_cache:
key: scss-cache-{{ checksum "scss_checksum" }}
paths:

View File

@ -15,7 +15,8 @@
"test": "npm run lint && npm run test:coverage && npm run test:integration",
"test:unit": "METAMASK_ENV=test mocha --exit --require babel-core/register --require test/helper.js --recursive \"test/unit/**/*.js\"",
"test:single": "METAMASK_ENV=test mocha --require test/helper.js",
"test:integration": "gulp build:scss && npm run test:flat && npm run test:mascara",
"test:integration": "npm run test:integration:build && npm run test:flat && npm run test:mascara",
"test:integration:build": "gulp build:scss",
"test:coverage": "nyc npm run test:unit && npm run test:coveralls-upload",
"test:coveralls-upload": "if [ $COVERALLS_REPO_TOKEN ]; then nyc report --reporter=text-lcov | coveralls; fi",
"test:flat": "npm run test:flat:build && karma start test/flat.conf.js",