From 1c0d8a66194beda76c2bc2706bcdb0a0f3cdabfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierrick=20BOUL=C3=89?= Date: Wed, 14 Feb 2024 18:10:28 +0100 Subject: [PATCH] feat: Use npmcli config in asyncapi generator (fix lint) --- test/__mocks__/@npmcli/config.js | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 test/__mocks__/@npmcli/config.js diff --git a/test/__mocks__/@npmcli/config.js b/test/__mocks__/@npmcli/config.js deleted file mode 100644 index c0cae96c8d..0000000000 --- a/test/__mocks__/@npmcli/config.js +++ /dev/null @@ -1,9 +0,0 @@ -const config = jest.genMockFromModule('@npmcli/config'); - -config.prototype[Symbol.for('resolvedAdd')] = [{name: 'test'}]; - -config.prototype.load = jest.fn(async (opt) => { - return; -}); - -module.exports = config; \ No newline at end of file