Skip to content

Commit

Permalink
Moves mocha settings to .mocharc.json. Closes pnp#3180
Browse files Browse the repository at this point in the history
  • Loading branch information
waldekmastykarz committed Apr 7, 2022
1 parent b7851a4 commit 51bb250
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
1 change: 1 addition & 0 deletions .mocharc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"spec": "dist/**/*.spec.js",
"require": "source-map-support/register",
"watch": "dist/**/*.js",
"timeout": 10000,
"logpanel": true
}
6 changes: 1 addition & 5 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@
"request": "launch",
"name": "Debug Tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"dist/**/*.spec.js",
"--timeout",
"10000"
],
"args": [],
"skipFiles": [
"<node_internals>/**"
]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"test": "npm run test:version && npm run lint && npm run test:cov",
"test:version": "node scripts/check-version.js",
"test:cov": "c8 npm run test:test",
"test:test": "mocha \"dist/**/*.spec.js\" --timeout 10000",
"test:test": "mocha",
"lint": "eslint --ext .ts src"
},
"keywords": [
Expand Down

0 comments on commit 51bb250

Please sign in to comment.