Remove unimplemented scenario from test

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne Savolainen committed 2022-05-20 14:16:56 +03:00
1 parent 1180b4dcc8
commit e9a851a8cb
1 file changed
-29
@@ -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 },
);
});
});
});
});
});