1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Update test

Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
This commit is contained in:
Hung-Han (Henry) Chen 2021-09-02 13:26:47 +03:00
parent 8eb12cb659
commit 542329a2d6
No known key found for this signature in database
GPG Key ID: 54B44603D251B788

View File

@ -50,11 +50,12 @@ const goForward = jest.fn();
jest.mock("@electron/remote", () => {
return {
webContents: {
getFocusedWebContents: () => {
return {
getAllWebContents: () => {
return [{
getType: () => "window",
goBack,
goForward
};
}];
}
}
};