Skip to content

Commit

Permalink
test(config): update mocha to work with new config format
Browse files Browse the repository at this point in the history
  • Loading branch information
kopach committed Jun 23, 2020
1 parent 15e7feb commit e333688
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"snyk-protect": "snyk protect",
"tdd": "concurrently --kill-others \"npm run test:watch\" \"live-server --watch=coverage/lcov-report --open=coverage/lcov-report --quiet\"",
"pretest": "npm run generate-public-api-schema",
"test": "nyc mocha --exit --require ts-node/register **/*.ts",
"test": "nyc mocha --config test/.mocharc.json --exit --require ts-node/register **/*.ts",
"test:ci": "npm run test",
"posttest:ci": "codecov",
"test:watch": "onchange --kill --initial 'test/*.spec.ts' 'src/*.ts' -- npm run test"
Expand Down
3 changes: 3 additions & 0 deletions test/.mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"timeout": 60000
}
1 change: 0 additions & 1 deletion test/mocha.opts

This file was deleted.

0 comments on commit e333688

Please sign in to comment.