Asper Header  1.0.22
The header injector extension
Loading...
Searching...
No Matches
messageReference.test.ts File Reference

Hardening test suite for messageReference locale parity and completeness. More...

Go to the source code of this file.

Variables

import *as assert from assert
 
 import { messages } from '../modules/messageReference'
 

Detailed Description

Hardening test suite for messageReference locale parity and completeness.

Author
Henry Letellier
Version
1.0.22
Since
1.0.22
Date
2025

Validates the invariant from AGENTS.md: all 15 locales must expose exactly the same message keys as en, each as a function, and fallback behaviour is deterministic. This is the cheapest hardening against the silent AGENTS.md python3 locale-count drift that caused missing headerLogoVersionDisabled etc.

Definition in file messageReference.test.ts.

Variable Documentation

◆ assert

import* as assert from assert

Definition at line 15 of file messageReference.test.ts.

◆ import

import { messages } from '../modules/messageReference'

Definition at line 16 of file messageReference.test.ts.