Add another jest mock

This commit is contained in:
Becca 2022-01-20 12:35:25 -05:00
parent 828f678c84
commit f397e446e7

View file

@ -5,6 +5,9 @@ export const shell = {
export const remote = { export const remote = {
app: { app: {
on: jest.fn(), on: jest.fn(),
client: {
waitUntil: jest.fn(),
},
}, },
getCurrentWebContents: jest.fn().mockImplementation(() => ({ getCurrentWebContents: jest.fn().mockImplementation(() => ({
on: jest.fn().mockImplementation(() => true), on: jest.fn().mockImplementation(() => true),