MCPcopy Create free account
hub / github.com/boringstack-xyz/boringstack / useWebPush.hooks.test.tsx

File useWebPush.hooks.test.tsx

apps/ui/src/hooks/useWebPush.hooks.test.tsx:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { act, renderHook, waitFor } from "@testing-library/react";
2import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
3
4import { subscribeWebPush, unsubscribeWebPush } from "@/lib/api/openapi";

Callers

nothing calls this directly

Calls 6

useWebPushFunction · 0.85
setupSupportedBrowserFunction · 0.85
makeSubscriptionFunction · 0.85
unsubscribeMethod · 0.80
waitForFunction · 0.50
subscribeMethod · 0.45

Tested by

no test coverage detected