1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-24 08:12:24 +02:00

Chore: Remove test spy (#7790)

This commit is contained in:
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

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();
});