Skip to content

Commit

Permalink
build(dev-deps): bump mocha to clear the audit (#1166)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsanders11 authored Jan 16, 2025
1 parent 47667ed commit 8e8e6f9
Show file tree
Hide file tree
Showing 4 changed files with 113 additions and 135 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,13 @@ jobs:
- '18.17'
- '16.20'
- '14.16'
- '12.22'
os:
- macos-latest
- ubuntu-latest
- windows-latest
exclude:
- os: windows-latest
node-version: '14.16'
- os: windows-latest
node-version: '12.22'
runs-on: "${{ matrix.os }}"
env:
GYP_MSVS_VERSION: '2022'
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"@types/chai-as-promised": "^7.1.3",
"@types/debug": "^4.1.5",
"@types/fs-extra": "^9.0.1",
"@types/mocha": "^9.0.0",
"@types/mocha": "^10.0.10",
"@types/node": "^17.0.8",
"@types/node-abi": "^3.0.0",
"@types/semver": "^7.3.9",
Expand All @@ -80,7 +80,7 @@
"electron": "^22.0.0",
"eslint": "^7.7.0",
"eslint-plugin-mocha": "^9.0.0",
"mocha": "^9.0.1",
"mocha": "^10.8.2",
"nyc": "^15.1.0",
"ts-node": "^10.0.0",
"typescript": "^4.0.2"
Expand Down
2 changes: 1 addition & 1 deletion test/helpers/module-setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export async function resetTestModule(testModulePath: string, installModules = t
}

export async function cleanupTestModule(testModulePath: string): Promise<void> {
await fs.rmdir(testModulePath, { recursive: true, maxRetries: 10 });
await fs.rm(testModulePath, { recursive: true, maxRetries: 10 });
resetMSVSVersion();
}

Expand Down
Loading

0 comments on commit 8e8e6f9

Please sign in to comment.