From 40ab8943ba958385609e29328417312f785971f3 Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Mon, 28 Oct 2024 01:12:01 -0700 Subject: [PATCH] chore: use installed mocha for vscode --- .mocharc.js | 5 +++-- .vscode/settings.json | 1 + test/tsconfig.json | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.mocharc.js b/.mocharc.js index 5143359c..3cc6d952 100644 --- a/.mocharc.js +++ b/.mocharc.js @@ -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 diff --git a/.vscode/settings.json b/.vscode/settings.json index 0007647c..c0a09f4b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -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, diff --git a/test/tsconfig.json b/test/tsconfig.json index b402df05..d9a119c0 100644 --- a/test/tsconfig.json +++ b/test/tsconfig.json @@ -1,6 +1,6 @@ { "extends": "../tsconfig.json", - "include": ["**/*.ts"], + "include": ["./unit/**/*.ts", "./*.ts"], "compilerOptions": { "skipLibCheck": true },