SW cache-first rewrite, React.lazy code splitting, PWA types/test stubs, install prompt, offline banner, offline queue, ChatPanel wiring. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
8 lines
362 B
TypeScript
8 lines
362 B
TypeScript
import { describe, it } from "vitest";
|
|
|
|
describe("useInstallPrompt", () => {
|
|
it.todo("captures beforeinstallprompt event");
|
|
it.todo("returns canInstall=true when event captured and not standalone");
|
|
it.todo("returns canInstall=false when already installed (standalone)");
|
|
it.todo("calls prompt() on the deferred event when promptInstall is called");
|
|
});
|