Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/openstatusHQ/openstatus. 馃珫 Status page with uptime monitoring & API monitoring as code 馃珫 openstatus.dev
bun drizzle-orm monitoring monitoring-as-code nextjs observability on-call open-source shadcn-ui status-page statuspage synthetic-monitoring tinybird turso uptime uptime-checker uptime-monitor
Something went wrong. Try again.
TypeScript
123456789101112// Test double for @openstatus/subscriptions, swapped in via --import-map.// Re-exports the real module, overriding only the dispatch fns and getChannel// with spies (exposed on globalThis via state.ts) so route tests can assert// notification side effects without sending anything.export * from "@openstatus/subscriptions-real";
import { subscriptionSpies as spies } from "./state.ts";
export const dispatchStatusReportUpdate = spies.dispatchStatusReportUpdate;export const dispatchMaintenanceUpdate = spies.dispatchMaintenanceUpdate;export const getChannel = () => spies.getChannel;