Chore: Remove test spy (#7790)

pull/7795/head
Julien 2023-02-17 20:52:06 +08:00 committed by GitHub
parent ca6e50e80c
commit b62e6552cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -5,8 +5,6 @@ import Plugin from './services/plugins/Plugin';
jest.mock('./registry');
const info = jest.spyOn(console, 'info').mockImplementation(() => {});
const mockedVersion = jest.fn(() => 'test');
const mockedDb = { version: mockedVersion };
@ -127,6 +125,4 @@ describe('getPluginLists', function() {
message.concat('\n...');
expect(v.message).toMatch(new RegExp(message));
});
info.mockReset();
});