mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fixing tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
bc0ca6c3a0
commit
27b8d86d69
@ -49,7 +49,8 @@ describe("lens extension", () => {
|
||||
isBundled: false,
|
||||
isEnabled: true,
|
||||
isCompatible: true,
|
||||
}, updateChecker);
|
||||
updateChecker
|
||||
});
|
||||
|
||||
const updateSpy = jest.spyOn(updateChecker, "run");
|
||||
|
||||
@ -58,7 +59,7 @@ describe("lens extension", () => {
|
||||
expect(updateSpy).toHaveBeenCalledWith({
|
||||
name: "foo-bar",
|
||||
version: "0.1.1",
|
||||
});
|
||||
}, false);
|
||||
});
|
||||
});
|
||||
|
||||
@ -81,7 +82,8 @@ describe("lens extension", () => {
|
||||
isBundled: false,
|
||||
isEnabled: true,
|
||||
isCompatible: true,
|
||||
}, updateChecker);
|
||||
updateChecker
|
||||
});
|
||||
|
||||
const availableUpdate = await ext.checkForUpdate();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user