From 81080ffd463c3ac906a7aedb669ec4d7b5de1e05 Mon Sep 17 00:00:00 2001 From: vvillait88 Date: Sat, 1 Aug 2026 00:40:53 -0700 Subject: [PATCH] Standardize on American spelling Matches the org rule: American spelling everywhere, prose and code alike. Comments and docstrings only here; no identifier, API surface or behavior change. The docstrings ship in the published package, so this is user-visible in the same small way a README typo is. --- tests/identity/policy.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/identity/policy.test.ts b/tests/identity/policy.test.ts index 8dbdafa..0980aa7 100644 --- a/tests/identity/policy.test.ts +++ b/tests/identity/policy.test.ts @@ -217,7 +217,7 @@ describe('runGateWithEnforcement', () => { it('soft mode does NOT swallow a signer-sanctions deny surfaced via top-level error.code', async () => { // A signer-sanctions SDN deny may surface as a top-level error.code (not in reasons); it is - // still recognised as a sanctions deny and stays terminal under soft. + // still recognized as a sanctions deny and stays terminal under soft. const body = { error: { code: 'sanctions_flagged', message: 'signer on SDN list' } }; const result = await runGateWithEnforcement('soft', async () => ({ ok: false, status: 403, body })); expect(result.status).toBe('denied');