mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
One script runs for Ci build
This commit is contained in:
parent
a1fab06490
commit
eb15663497
@ -7,6 +7,4 @@ dependencies:
|
|||||||
- "npm i -g mocha"
|
- "npm i -g mocha"
|
||||||
test:
|
test:
|
||||||
override:
|
override:
|
||||||
- "npm run lint"
|
- "npm run ci"
|
||||||
- "npm run test-coverage"
|
|
||||||
- "npm run test-integration"
|
|
@ -14,6 +14,7 @@
|
|||||||
"single-test": "METAMASK_ENV=test mocha --require test/helper.js",
|
"single-test": "METAMASK_ENV=test mocha --require test/helper.js",
|
||||||
"test-integration": "npm run buildMock && npm run buildCiUnits && testem ci -P 2",
|
"test-integration": "npm run buildMock && npm run buildCiUnits && testem ci -P 2",
|
||||||
"test-coverage": "nyc npm run test-unit && nyc report --reporter=text-lcov | coveralls",
|
"test-coverage": "nyc npm run test-unit && nyc report --reporter=text-lcov | coveralls",
|
||||||
|
"ci": "npm run lint && npm run test-coverage && npm run test-integration",
|
||||||
"lint": "gulp lint",
|
"lint": "gulp lint",
|
||||||
"buildCiUnits": "node test/integration/index.js",
|
"buildCiUnits": "node test/integration/index.js",
|
||||||
"watch": "mocha watch --recursive \"test/unit/**/*.js\"",
|
"watch": "mocha watch --recursive \"test/unit/**/*.js\"",
|
||||||
|
Loading…
Reference in New Issue
Block a user