test(ext/shared): pin fallback title assertion in error-copy test
This commit is contained in:
@@ -38,7 +38,7 @@ describe('ERROR_COPY', () => {
|
||||
|
||||
it('lookupErrorCopy falls back to a generic shape for unknown codes', () => {
|
||||
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');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user