fix tests

This commit is contained in:
Henry Jameson 2026-06-24 19:03:46 +03:00
commit 30db636389
3 changed files with 7 additions and 3 deletions

View file

@ -69,6 +69,12 @@ describe('oauth store', () => {
it('should use create an app and record client id and secret', async ({
worker,
}) => {
worker.use(
http.post(MASTODON_APP_URL, () => {
return HttpResponse.text('Throttled', { status: 429 })
}),
)
const store = useOAuthStore()
worker.use(...authApis())
const app = await store.createApp()