Skip to content

Commit c68697d

Browse files
committed
test(service-sms): type the served-door header table in the sms/test locale pin
Claude-Session: https://claude.ai/code/session_016WV4d1JeXeWGVzxc12FsUx Co-authored-by: Claude <noreply@anthropic.com>
1 parent c3f79fc commit c68697d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/services/service-sms/src/sms-test-recipient.pin.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ describe('served sms/test — answers in the caller\'s language', () => {
259259
});
260260

261261
it('control: with no language, or one off the platform locale table, the answer stays English', async () => {
262-
for (const headers of [{}, { 'accept-language': 'sw-KE' }]) {
262+
for (const headers of [{}, { 'accept-language': 'sw-KE' }] as Array<Record<string, string>>) {
263263
const { pressSendTest } = await serve([{ id: ADMIN_ID, phone_number: null }]);
264264
const answer = await pressSendTest(TWILIO_DRAFT, headers);
265265
expect(String(answer.body?.error?.details?.message).startsWith('Your account has no phone number')).toBe(true);

0 commit comments

Comments
 (0)