Fix db mock
This commit is contained in:
parent
a077dcbf3d
commit
990516a8e2
|
@ -62,7 +62,11 @@ jest.mock('./app/lib/methods/search', () => ({
|
|||
search: () => []
|
||||
}));
|
||||
|
||||
jest.mock('./app/lib/database', () => jest.fn(() => null));
|
||||
jest.mock('./app/lib/database', () => ({
|
||||
active: {
|
||||
get: jest.fn()
|
||||
}
|
||||
}));
|
||||
|
||||
jest.mock('./app/containers/MessageComposer/components/EmojiKeyboard', () => jest.fn(() => null));
|
||||
|
||||
|
|
Loading…
Reference in New Issue