test: name update mismatch banner

This commit is contained in:
Shakker
2026-05-12 18:14:05 +01:00
parent 797ce4c05c
commit 94dc1e32c2

View File

@@ -364,9 +364,10 @@ describe("connectGateway", () => {
await vi.waitFor(() => {
expect(host.pendingUpdateExpectedVersion).toBeNull();
expect(host.updateStatusBanner?.text).toContain(
"Update installed but running version did not change",
);
expect(host.updateStatusBanner).toEqual({
tone: "danger",
text: "Update installed but running version did not change — restart may have been blocked. Expected v2.0.0, running v1.0.0.",
});
});
});