Skip to content

Commit

Permalink
Switch to .mocharc.json
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Feb 13, 2021
1 parent dfebb57 commit 9b72c75
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .mocharc.json
@@ -0,0 +1,6 @@
{
"reporter": "spec",
"recursive": true,
"timeout": 30000,
"checkLeaks": true
}
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -7,7 +7,7 @@
"lint": "eslint . && prettier --check '**/*.{js,json,md}'",
"test": "npm run test-mocha && npm run test-jest && npm run test-integration",
"test-integration": "mocha integration-test/test.js --timeout 30000",
"test-mocha": "mocha --opts test/mocha/mocha.opts",
"test-mocha": "mocha test/**/*.test.js",
"test-jest": "jest --config test/jest/jest.config.js",
"test:ci": "npm run coverage",
"coverage": "NODE_ENV=development nyc --reporter=lcov --reporter=text --all -- npm run coverage-test && echo google-chrome coverage/lcov-report/index.html",
Expand Down

0 comments on commit 9b72c75

Please sign in to comment.