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.
484 B ยท 18 lines
TypeScript
12345678910111213141516171819// Test double for @openstatus/upstash, swapped in via --import-map in the// `deno test` command. Keeps tests off a real Upstash Redis instance.const noopRedis = { get: () => Promise.resolve(null), set: () => Promise.resolve("OK"), del: () => Promise.resolve(0), getdel: () => Promise.resolve(null), incr: () => Promise.resolve(1), expire: () => Promise.resolve(1),};
export const redis = noopRedis;
export const Redis = { fromEnv() { return noopRedis; },};