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:
parent
a2c591f580
commit
c4b5e9dcd3
@ -105,7 +105,7 @@ describe("selection of update stability", () => {
|
|||||||
it('checks updates from update channel "alpha"', () => {
|
it('checks updates from update channel "alpha"', () => {
|
||||||
expect(checkForPlatformUpdatesMock).toHaveBeenCalledWith(
|
expect(checkForPlatformUpdatesMock).toHaveBeenCalledWith(
|
||||||
updateChannels.alpha,
|
updateChannels.alpha,
|
||||||
{ allowDowngrade: true },
|
{ allowDowngrade: false },
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -132,7 +132,7 @@ describe("selection of update stability", () => {
|
|||||||
it('checks updates from update channel "beta"', () => {
|
it('checks updates from update channel "beta"', () => {
|
||||||
expect(checkForPlatformUpdatesMock).toHaveBeenCalledWith(
|
expect(checkForPlatformUpdatesMock).toHaveBeenCalledWith(
|
||||||
updateChannels.beta,
|
updateChannels.beta,
|
||||||
{ allowDowngrade: true },
|
{ allowDowngrade: false },
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -159,7 +159,7 @@ describe("selection of update stability", () => {
|
|||||||
it('finally checks updates from update channel "latest"', () => {
|
it('finally checks updates from update channel "latest"', () => {
|
||||||
expect(checkForPlatformUpdatesMock).toHaveBeenCalledWith(
|
expect(checkForPlatformUpdatesMock).toHaveBeenCalledWith(
|
||||||
updateChannels.latest,
|
updateChannels.latest,
|
||||||
{ allowDowngrade: true },
|
{ allowDowngrade: false },
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -279,7 +279,7 @@ describe("selection of update stability", () => {
|
|||||||
|
|
||||||
expect(checkForPlatformUpdatesMock).toHaveBeenCalledWith(
|
expect(checkForPlatformUpdatesMock).toHaveBeenCalledWith(
|
||||||
updateChannels.latest,
|
updateChannels.latest,
|
||||||
{ allowDowngrade: true },
|
{ allowDowngrade: false },
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user