diff --git a/src/hooks/auto-update-checker/hook/background-update-check.test.ts b/src/hooks/auto-update-checker/hook/background-update-check.test.ts index 06789894e..0c7cbbf4d 100644 --- a/src/hooks/auto-update-checker/hook/background-update-check.test.ts +++ b/src/hooks/auto-update-checker/hook/background-update-check.test.ts @@ -191,17 +191,6 @@ describe("runBackgroundUpdateCheck", () => { expect(mockShowAutoUpdatedToast).toHaveBeenCalledWith(mockCtx, "3.4.0", "3.5.0") expect(mockShowUpdateAvailableToast).not.toHaveBeenCalled() }) - - it("does NOT show update-available toast on success", async () => { - //#given - mockRunBunInstall.mockResolvedValue(true) - //#when - await runBackgroundUpdateCheck(mockCtx, true, getToastMessage) - //#then - expect(mockShowAutoUpdatedToast).toHaveBeenCalledTimes(1) - expect(mockShowUpdateAvailableToast).not.toHaveBeenCalled() - expect(mockRunBunInstall).toHaveBeenCalledTimes(1) - }) }) describe("#given unpinned with auto-update and install fails", () => {