Skip to content

Commit

Permalink
chore: use installed mocha for vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Oct 28, 2024
1 parent 1489e60 commit 40ab894
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .mocharc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ const config = {
exit: true,
parallel: true,
timeout: 5000,
retries: 2,
fullTrace: true
retries: 1,
fullTrace: true,
bail: false,
}

module.exports = config
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"INCLUDE_COMPAT_TESTS": "true"
},
"mochaExplorer.files": "test/unit/**/*-test.ts",
"mochaExplorer.mochaPath": "./node_modules/mocha",
"files.exclude": {
"**/.DS_Store": true,
"**/Thumbs.db": true,
Expand Down
2 changes: 1 addition & 1 deletion test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": "../tsconfig.json",
"include": ["**/*.ts"],
"include": ["./unit/**/*.ts", "./*.ts"],
"compilerOptions": {
"skipLibCheck": true
},
Expand Down

0 comments on commit 40ab894

Please sign in to comment.