Add implementation for asking boolean over processes

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne Savolainen committed 2022-05-20 14:10:44 +03:00
1 parent 1b46ccd18b
commit e2de1449d5
11 files changed
+800 -12

No files matched your search

@@ -300,7 +300,12 @@ describe("installing update using tray", () => {
});
it("asks user to install update immediately", () => {
expect(askBooleanMock).toHaveBeenCalledWith("Do you want to install update some-version?");
expect(askBooleanMock).toHaveBeenCalledWith({
id: "install-update",
title: "Update Available",
question:
"Version some-version of Lens IDE is available and ready to be installed. Would you like to update now?",
});
});
describe("when user answers to install the update", () => {