[go: up one dir, main page]

Skip to content

Commit

Permalink
Create a test:all script to remove duplication (see josdejong#1751)
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong committed Mar 2, 2020
1 parent 7fc4606 commit 9272395
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
],
"scripts": {
"build": "gulp",
"build-and-test": "npm run build && npm run test:src && npm run test:generated && npm run test:node && npm run lint",
"build-and-test": "npm run build && npm run test:all && npm run lint",
"compile": "gulp compile",
"watch": "gulp watch",
"lint": "standard --env=mocha --env=worker",
Expand All @@ -205,10 +205,11 @@
"test:src": "mocha test/unit-tests --recursive --require @babel/register --forbid-only",
"test:generated": "mocha test/generated-code-tests --recursive --require @babel/register --forbid-only",
"test:node": "mocha test/node-tests/*.test.js test/node-tests/**/*.test.js --recursive --forbid-only",
"test:all": "npm run test:src && npm run test:generated && npm run test:node",
"test:browser": "karma start test/browser-test-config/local-karma.js",
"test:browserstack": "karma start test/browser-test-config/browserstack-karma.js",
"coverage": "nyc --reporter=lcov --reporter=text-summary mocha test/unit-tests --recursive --require @babel/register && echo \"\nDetailed coverage report is available at ./coverage/lcov-report/index.html\"",
"prepublishOnly": "npm run test:src && npm run test:generated && npm run test:node && npm run lint",
"prepublishOnly": "npm run test:all && npm run lint",
"prepare": "npm run build"
},
"bin": {
Expand Down

0 comments on commit 9272395

Please sign in to comment.