Порівняти коміти

...
Автор SHA1 Повідомлення Дата
l0ng-ai ca0cf3076e test(app): mock invoke for the system notification in the update checks
Balloons are now mirrored to a system notification (showSystemNotification),
which calls invoke; the update-check test's @tauri-apps/api/core mock had no
invoke, so its 28 notification cases failed.
2026-11-16 12:13:23 +08:00
+2
Переглянути файл
@@ -8,6 +8,8 @@ vi.mock("@tauri-apps/api/core", () => ({
Channel: class {
onmessage: (p: unknown) => void = () => {};
},
// Balloons are mirrored to a system notification (`showSystemNotification`).
invoke: async () => null,
}));
type Channel = { onmessage: (p: UpdateProgress) => void };