MCPcopy
hub / github.com/formbricks/formbricks / cache-integration.test.ts

File cache-integration.test.ts

packages/cache/src/cache-integration.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/* eslint-disable @typescript-eslint/restrict-template-expressions, @typescript-eslint/no-non-null-assertion, @typescript-eslint/require-await -- Test file needs template expressions for test output */
2import { afterAll, beforeAll, describe, expect, test } from "vitest";
3import { logger } from "@formbricks/logger";
4import { createCacheKey } from "./cache-keys";

Callers

nothing calls this directly

Calls 10

expensiveFunctionFunction · 0.85
getRedisClientMethod · 0.80
delMethod · 0.80
setMethod · 0.80
existsMethod · 0.80
withCacheMethod · 0.80
withCacheNullableMethod · 0.80
checkRedisAvailabilityFunction · 0.70
delayFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected