mirror of https://github.com/laurent22/joplin.git
Chore: Remove test spy (#7790)
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