mirror of
https://github.com/desktop/desktop
synced 2024-09-17 23:21:55 +00:00
Add another jest mock
This commit is contained in:
parent
828f678c84
commit
f397e446e7
|
@ -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),
|
||||||
|
|
Loading…
Reference in a new issue