Skip to content

Commit d250bf0

Browse files
committed
test: client: get rid of mock-require
1 parent e1d2f01 commit d250bf0

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

client/key/vim/index.spec.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ const {assign} = Object;
1818
const {DOM} = globalThis;
1919
const {Buffer} = DOM;
2020

21-
const {reRequire} = require('mock-require');
22-
2321
test('cloudcmd: client: key: set next file: no', (t) => {
2422
const element = {};
2523
const setCurrentFile = stub();
@@ -591,7 +589,6 @@ test('cloudcmd: client: key: N', (t) => {
591589
});
592590

593591
test('cloudcmd: client: key: make directory', async (t) => {
594-
const vim = reRequire(pathVim);
595592
const {DOM} = globalThis;
596593

597594
assign(DOM, {

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@
190190
"memfs": "^4.2.0",
191191
"mini-css-extract-plugin": "^2.9.2",
192192
"minor": "^1.2.2",
193-
"mock-require": "^3.0.1",
194193
"morgan": "^1.6.1",
195194
"multi-rename": "^3.0.0",
196195
"nodemon": "^3.0.1",

0 commit comments

Comments
 (0)