[moderation] stub voice endpoint

This commit is contained in:
Devin Zuczek
2026-08-20 18:39:32 -04:00
parent 879d8e95ab
commit 3e59ebeaa8
4 changed files with 50 additions and 1 deletions
@@ -6,3 +6,9 @@ it('response with hello world', async () => {
expect(res.status).toBe(200)
expect(await res.text()).toMatchInlineSnapshot(`"hello, world!"`)
})
it('serves empty voice moderation credentials', async () => {
const res = await SELF.fetch('https://example.com/voice/config')
expect(res.status).toBe(200)
expect(await res.json()).toEqual({ AccountId: '', ApiKey: '' })
})