mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 00:47:01 +00:00
test: client: get rid of mock-require
This commit is contained in:
parent
e1d2f01f57
commit
d250bf0223
2 changed files with 0 additions and 4 deletions
|
|
@ -18,8 +18,6 @@ const {assign} = Object;
|
|||
const {DOM} = globalThis;
|
||||
const {Buffer} = DOM;
|
||||
|
||||
const {reRequire} = require('mock-require');
|
||||
|
||||
test('cloudcmd: client: key: set next file: no', (t) => {
|
||||
const element = {};
|
||||
const setCurrentFile = stub();
|
||||
|
|
@ -591,7 +589,6 @@ test('cloudcmd: client: key: N', (t) => {
|
|||
});
|
||||
|
||||
test('cloudcmd: client: key: make directory', async (t) => {
|
||||
const vim = reRequire(pathVim);
|
||||
const {DOM} = globalThis;
|
||||
|
||||
assign(DOM, {
|
||||
|
|
|
|||
|
|
@ -190,7 +190,6 @@
|
|||
"memfs": "^4.2.0",
|
||||
"mini-css-extract-plugin": "^2.9.2",
|
||||
"minor": "^1.2.2",
|
||||
"mock-require": "^3.0.1",
|
||||
"morgan": "^1.6.1",
|
||||
"multi-rename": "^3.0.0",
|
||||
"nodemon": "^3.0.1",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue