mirror of
https://github.com/djdevin/recflare.git
synced 2026-09-09 07:01:27 -07:00
[moderation] stub voice endpoint
This commit is contained in:
@@ -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: '' })
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user