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

Update tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-09-07 09:55:03 -04:00
parent a2c591f580
commit c4b5e9dcd3

View File

@ -105,7 +105,7 @@ describe("selection of update stability", () => {
it('checks updates from update channel "alpha"', () => {
expect(checkForPlatformUpdatesMock).toHaveBeenCalledWith(
updateChannels.alpha,
{ allowDowngrade: true },
{ allowDowngrade: false },
);
});
@ -132,7 +132,7 @@ describe("selection of update stability", () => {
it('checks updates from update channel "beta"', () => {
expect(checkForPlatformUpdatesMock).toHaveBeenCalledWith(
updateChannels.beta,
{ allowDowngrade: true },
{ allowDowngrade: false },
);
});
@ -159,7 +159,7 @@ describe("selection of update stability", () => {
it('finally checks updates from update channel "latest"', () => {
expect(checkForPlatformUpdatesMock).toHaveBeenCalledWith(
updateChannels.latest,
{ allowDowngrade: true },
{ allowDowngrade: false },
);
});
@ -279,7 +279,7 @@ describe("selection of update stability", () => {
expect(checkForPlatformUpdatesMock).toHaveBeenCalledWith(
updateChannels.latest,
{ allowDowngrade: true },
{ allowDowngrade: false },
);
});