Skip to content

Commit 4228c2d

Browse files
committed
chore: cleanup dev dependencies
1 parent a43d073 commit 4228c2d

File tree

3 files changed

+24
-25
lines changed

3 files changed

+24
-25
lines changed

package-lock.json

Lines changed: 24 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,10 @@
7272
"yosay": "^3.0.0"
7373
},
7474
"devDependencies": {
75-
"@types/node": "^22.14.0",
7675
"c8": "^10.1.3",
7776
"coveralls": "^3.1.1",
7877
"esmocha": "^4.0.0",
7978
"globals": "^16.4.0",
80-
"mocha": "^11.7.2",
81-
"mockery": "^2.1.0",
8279
"nock": "^14.0.10",
8380
"registry-url": "^7.2.0",
8481
"sinon": "^21.0.0",

test/cli.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import path from 'node:path';
22
import assert from 'node:assert';
33
import process from 'node:process';
44
import {execFile} from 'node:child_process';
5-
import mockery from 'mockery';
65
import sinon from 'sinon';
76
import pkg from '../lib/utils/project-package.js';
87
import {getDirname} from '../lib/utils/node-shims.js';
@@ -19,18 +18,9 @@ describe('bin', () => {
1918
this.origExit = process.exit;
2019
const {createEnv} = await import('yeoman-environment');
2120
this.env = createEnv();
22-
23-
mockery.enable({
24-
warnOnUnregistered: false,
25-
});
26-
27-
mockery.registerMock('yeoman-environment', {
28-
createEnv: () => this.env,
29-
});
3021
});
3122

3223
afterEach(function () {
33-
mockery.disable();
3424
process.argv = this.origArgv;
3525
process.exit = this.origExit;
3626
});

0 commit comments

Comments
 (0)