Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Commit

Permalink
Added single-unit script that allows to run a single-unit testcase if…
Browse files Browse the repository at this point in the history
… necessary.
  • Loading branch information
martinheidegger committed Jun 28, 2018
1 parent 266828e commit ecedcbd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"start": "cross-env NODE_ENV=development electron .",
"pretest": "npm run lint",
"test": "npm run test:unit",
"test:unit": "cross-env NODE_ENV=test babel-tape-runner -r ./unit-tests/_helpers/*.js unit-tests/*.js",
"test:unit": "npm run test:single-unit -- unit-tests/*.js",
"test:single-unit": "cross-env NODE_ENV=test babel-tape-runner -r ./unit-tests/_helpers/*.js",
"test:integration": "node ./tests/index.js",
"lint": "prettier-standard 'app/**/*.js' 'tests/**/*.js' 'lib/**/*.js' 'unit-tests/*.js' && standard",
"deps": "cross-env DEBUG=* dependency-check . --detective precinct --entry app/index.js",
Expand Down

0 comments on commit ecedcbd

Please sign in to comment.