|
|
@ -15,7 +15,7 @@ |
|
|
|
"test": "npm run lint && npm run test:coverage && npm run test:integration", |
|
|
|
"test": "npm run lint && npm run test:coverage && npm run test:integration", |
|
|
|
"test:unit": "METAMASK_ENV=test mocha --require test/helper.js --recursive \"test/unit/**/*.js\"", |
|
|
|
"test:unit": "METAMASK_ENV=test mocha --require test/helper.js --recursive \"test/unit/**/*.js\"", |
|
|
|
"test:single": "METAMASK_ENV=test mocha --require test/helper.js", |
|
|
|
"test:single": "METAMASK_ENV=test mocha --require test/helper.js", |
|
|
|
"test:integration": "npm run test:flat", |
|
|
|
"test:integration": "npm run test:flat && npm run test:mascara", |
|
|
|
"test:coverage": "nyc npm run test:unit && npm run test:coveralls-upload", |
|
|
|
"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: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", |
|
|
|
"test:flat": "npm run test:flat:build && karma start test/flat.conf.js", |
|
|
|