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,
|
isBundled: false,
|
||||||
isEnabled: true,
|
isEnabled: true,
|
||||||
isCompatible: true,
|
isCompatible: true,
|
||||||
}, updateChecker);
|
updateChecker
|
||||||
|
});
|
||||||
|
|
||||||
const updateSpy = jest.spyOn(updateChecker, "run");
|
const updateSpy = jest.spyOn(updateChecker, "run");
|
||||||
|
|
||||||
@ -58,7 +59,7 @@ describe("lens extension", () => {
|
|||||||
expect(updateSpy).toHaveBeenCalledWith({
|
expect(updateSpy).toHaveBeenCalledWith({
|
||||||
name: "foo-bar",
|
name: "foo-bar",
|
||||||
version: "0.1.1",
|
version: "0.1.1",
|
||||||
});
|
}, false);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -81,7 +82,8 @@ describe("lens extension", () => {
|
|||||||
isBundled: false,
|
isBundled: false,
|
||||||
isEnabled: true,
|
isEnabled: true,
|
||||||
isCompatible: true,
|
isCompatible: true,
|
||||||
}, updateChecker);
|
updateChecker
|
||||||
|
});
|
||||||
|
|
||||||
const availableUpdate = await ext.checkForUpdate();
|
const availableUpdate = await ext.checkForUpdate();
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user