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:
parent
ca6e50e80c
commit
b62e6552cd
@ -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();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user