Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.

Commit

Permalink
Use electron-mocha for unit tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad-shatskyi committed May 27, 2017
1 parent 3b4b577 commit b94d308
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -76,7 +76,7 @@
"prestart": "npm install && npm run compile",
"start": "bash housekeeping/start.sh",
"test": "npm run lint && npm run unit-tests && npm run ui-tests && npm run integration-tests && build --publish never",
"unit-tests": "ELECTRON_RUN_AS_NODE=1 electron $(which mocha) --require ts-node/register $(find test -name '*_spec.ts')",
"unit-tests": "electron-mocha --require ts-node/register $(find test -name '*_spec.ts')",
"ui-tests": "electron-mocha --require ts-node/register $(find test -name '*_spec.tsx')",
"integration-tests": "npm run compile && mocha",
"update-dependencies": "ncu -u",
Expand Down
2 changes: 1 addition & 1 deletion tslint.json
Expand Up @@ -63,7 +63,7 @@
"no-switch-case-fall-through": true,
"no-trailing-whitespace": true,
"no-unused-expression": true,
"no-use-before-declare": true,
"no-use-before-declare": false,
"no-var-keyword": true,
"no-var-requires": false,
"object-literal-sort-keys": false,
Expand Down

0 comments on commit b94d308

Please sign in to comment.