import { describe, expect, test } from 'bun:test'; import { findMissingKeys } from 'i18n'; import en from './en-GB.json'; import ptPT from './pt-PT.json'; // D2: every shipped locale ships a COMPLETE catalog. A key en-GB has and pt-PT lacks is a red build, // not a warning — there is no regional fallback to paper over the gap. describe('officer-web (app.*) locale catalogs', () => { test('pt-PT has every key en-GB has', () => { expect(findMissingKeys(en, { 'pt-PT': ptPT })).toEqual([]); }); });