import { describe, it, expect } from "vitest"; import { readFileSync } from "node:fs"; import { join } from "node:path"; /** * Root layout — i18n boot-script ordering pin. * * The locale catalog is a ~370 KB separate asset, and the client bundle * needs it in hand for its FIRST render or `t()` resolves raw keys against * the server's real text (React error #418, plus a visible frame of * `nav.skipToContent` before the provider backfills). * * A plain `