MCPcopy
hub / github.com/lingodotdev/lingo.dev / utils.spec.ts

File utils.spec.ts

packages/react/src/rsc/utils.spec.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, it, expect, vi, beforeEach } from "vitest";
2
3const cookiesSetSpy = vi.fn();
4vi.mock("next/headers", () => {

Callers

nothing calls this directly

Calls 4

loadLocaleFromHeadersFunction · 0.90
loadLocaleFromCookiesFunction · 0.90
setLocaleInCookiesFunction · 0.90

Tested by

no test coverage detected