Skip to content

Commit

Permalink
change mocha.opts to mocharc file (#2176)
Browse files Browse the repository at this point in the history
* change mocha.opts to mocharc file

* Update .mocharc.yml
  • Loading branch information
bkendall committed Apr 24, 2020
1 parent 660c77c commit 5e382ad
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 6 additions & 0 deletions .mocharc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
require:
- ts-node/register
- source-map-support/register
- src/test/helpers/mocha-bootstrap.js
timeout: 1000
recursive: true
6 changes: 0 additions & 6 deletions mocha.opts

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"lint:other": "prettier --check '**/*.{md,yaml,yml}'",
"lint:quiet": "npm run lint:ts -- --quiet && npm run lint:other",
"lint:ts": "eslint --config .eslintrc.js --ext .ts,.js .",
"mocha": "nyc mocha --opts mocha.opts",
"mocha": "nyc mocha src/test/**/*.{ts,js}",
"prepare": "npm run clean && npm run build -- --build tsconfig.publish.json",
"test": "npm run lint:quiet && npm run mocha",
"test:client-integration": "./scripts/client-integration-tests/run.sh",
Expand Down

0 comments on commit 5e382ad

Please sign in to comment.