test(mocha): Update mocha to 11.7.2 and remove patch (#4429)

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
This commit is contained in:
Fleny
2025-09-11 13:56:22 +02:00
committed by GitHub
parent ba7ca458b6
commit 9aec72df44
8 changed files with 52 additions and 963 deletions

View File

@@ -1,13 +0,0 @@
diff --git a/lib/cli/cli.js b/lib/cli/cli.js
index 5a4c6b8d53e8a01eca68b6d9d03b0f11626e77c1..2be60285c6c855417af39fb4b28b7f2928783312 100644
--- a/lib/cli/cli.js
+++ b/lib/cli/cli.js
@@ -12,7 +12,7 @@
const debug = require('debug')('mocha:cli:cli');
const symbols = require('log-symbols');
-const yargs = require('yargs/yargs');
+const yargs = require('yargs');
const path = require('path');
const {
loadRc,

View File

@@ -42,7 +42,7 @@
"@types/sinon": "^17.0.4",
"c8": "^10.1.3",
"chai": "^6.0.1",
"mocha": "patch:mocha@npm%3A11.0.2#~/.yarn/patches/mocha-npm-11.0.2-b5d6b95284.patch",
"mocha": "^11.7.2",
"sinon": "^21.0.0",
"ts-node": "^10.9.2",
"tsconfig": "*",

View File

@@ -41,7 +41,7 @@
"@types/node": "^24.3.0",
"c8": "^10.1.3",
"chai": "^6.0.1",
"mocha": "patch:mocha@npm%3A11.0.2#~/.yarn/patches/mocha-npm-11.0.2-b5d6b95284.patch",
"mocha": "^11.7.2",
"ts-node": "^10.9.2",
"tsconfig": "*",
"typescript": "^5.9.2"

View File

@@ -45,7 +45,7 @@
"@types/ws": "^8.18.1",
"c8": "^10.1.3",
"chai": "^6.0.1",
"mocha": "patch:mocha@npm%3A11.0.2#~/.yarn/patches/mocha-npm-11.0.2-b5d6b95284.patch",
"mocha": "^11.7.2",
"sinon": "^21.0.0",
"ts-node": "^10.9.2",
"tsconfig": "*",

View File

@@ -43,7 +43,7 @@
"chai": "^6.0.1",
"chai-as-promised": "^8.0.2",
"dotenv": "^17.2.1",
"mocha": "patch:mocha@npm%3A11.0.2#~/.yarn/patches/mocha-npm-11.0.2-b5d6b95284.patch",
"mocha": "^11.7.2",
"sinon": "^21.0.0",
"ts-node": "^10.9.2",
"tsconfig": "*",

View File

@@ -31,7 +31,7 @@
"@types/mocha": "^10.0.10",
"@types/node": "^24.3.0",
"c8": "^10.1.3",
"mocha": "patch:mocha@npm%3A11.0.2#~/.yarn/patches/mocha-npm-11.0.2-b5d6b95284.patch",
"mocha": "^11.7.2",
"ts-node": "^10.9.2",
"tsconfig": "*",
"typescript": "^5.9.2"

View File

@@ -38,7 +38,7 @@
"@types/sinon": "^17.0.4",
"c8": "^10.1.3",
"chai": "^6.0.1",
"mocha": "patch:mocha@npm%3A11.0.2#~/.yarn/patches/mocha-npm-11.0.2-b5d6b95284.patch",
"mocha": "^11.7.2",
"sinon": "^21.0.0",
"ts-node": "^10.9.2",
"tsconfig": "*",

990
yarn.lock

File diff suppressed because it is too large Load Diff