test(ext/shared): pin fallback title assertion in error-copy test

This commit is contained in:
adlee-was-taken
2026-05-02 16:30:09 -04:00
parent 648dcf386e
commit 214e1e49f8

View File

@@ -38,7 +38,7 @@ describe('ERROR_COPY', () => {
it('lookupErrorCopy falls back to a generic shape for unknown codes', () => { it('lookupErrorCopy falls back to a generic shape for unknown codes', () => {
const copy = lookupErrorCopy('made_up_code_xyz'); const copy = lookupErrorCopy('made_up_code_xyz');
expect(copy.title).toBeTruthy(); expect(copy.title).toBe('Something went wrong');
expect(copy.body).toContain('made_up_code_xyz'); expect(copy.body).toContain('made_up_code_xyz');
}); });
}); });