From 6ad6887d3bb927e03a3afe9a50ced588012d6973 Mon Sep 17 00:00:00 2001 From: Janne Savolainen Date: Fri, 20 May 2022 14:16:56 +0300 Subject: [PATCH] Remove unimplemented scenario from test Signed-off-by: Janne Savolainen --- ...alling-update-from-update-channels.test.ts | 29 ------------------- 1 file changed, 29 deletions(-) diff --git a/src/behaviours/application-update/installing-update-from-update-channels.test.ts b/src/behaviours/application-update/installing-update-from-update-channels.test.ts index 15b4918e0f..3707325c5b 100644 --- a/src/behaviours/application-update/installing-update-from-update-channels.test.ts +++ b/src/behaviours/application-update/installing-update-from-update-channels.test.ts @@ -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 }, - ); - }); - }); }); }); });