Skip to content

Commit

Permalink
test: upgraded mocha and added a .mocharc.json
Browse files Browse the repository at this point in the history
  • Loading branch information
tannerntannern committed May 18, 2019
1 parent 934d391 commit ab80f4a
Show file tree
Hide file tree
Showing 3 changed files with 223 additions and 64 deletions.
5 changes: 5 additions & 0 deletions .mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recursive": true,
"require": "ts-node/register",
"spec": "test/**/*.test.*"
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"build-clean": "rimraf dist && yarn build",
"docs": "docsify serve docs --open",
"lint": "eslint src/**/*.ts",
"test": "nyc mocha --recursive -r ts-node/register test/**/*.test.*",
"test": "nyc mocha",
"coverage": "nyc report && opn ./coverage/index.html",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"release": "standard-version -a"
Expand All @@ -28,7 +28,7 @@
"@commitlint/cli": "^7.3.2",
"@commitlint/config-conventional": "^7.3.1",
"@types/chai": "^4.1.7",
"@types/mocha": "^5.2.5",
"@types/mocha": "^5.2.6",
"@types/node": "^11.13.8",
"@types/sinon": "^7.0.11",
"@types/sinon-chai": "^3.2.2",
Expand All @@ -37,7 +37,7 @@
"docsify-cli": "^4.3.0",
"eslint": "^5.12.0",
"husky": "^1.3.1",
"mocha": "^5.2.0",
"mocha": "^6.1.4",
"nyc": "^14.0.0",
"rimraf": "^2.6.3",
"sinon": "^7.3.2",
Expand Down
Loading

0 comments on commit ab80f4a

Please sign in to comment.