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

Remove unimplemented scenario from test

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne Savolainen 2022-05-20 14:16:56 +03:00
parent 1180b4dcc8
commit e9a851a8cb
No known key found for this signature in database
GPG Key ID: 8C6CFB2FFFE8F68A

View File

@ -125,35 +125,6 @@ describe("installing update from update channels", () => {
it("renders", () => {
expect(rendered.baseElement).toMatchSnapshot();
});
describe("when user changes update channel to other channel instead of just installing", () => {
beforeEach(() => {
const selectedUpdateChannel = applicationBuilder.dis.mainDi.inject(
selectedUpdateChannelInjectable,
);
selectedUpdateChannel.setValue(updateChannels.beta.id);
});
it("user cannot install existing update for being from wrong update channel", () => {});
describe("when user installs an update", () => {
beforeEach(() => {});
it('still installs the update from "latest" update channel', () => {});
});
it("when checking updates again, checks for updates from the other update channel", async () => {
checkForPlatformUpdatesMock.mockClear();
checkForUpdates();
expect(checkForPlatformUpdatesMock).toHaveBeenCalledWith(
updateChannels.beta,
{ allowDowngrade: true },
);
});
});
});
});
});