Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/web/src/routes/api/cloud/__tests__/bootstrap.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@

expect(res.status).toBe(200)
await expect(res.json()).resolves.toMatchObject({ userId: 'user_existing' })
expect(vi.mocked(getAuth)).not.toHaveBeenCalled()
expect(vi.mocked(getAuth)).toHaveBeenCalledOnce()

Check failure on line 182 in apps/web/src/routes/api/cloud/__tests__/bootstrap.test.ts

View workflow job for this annotation

GitHub Actions / test

apps/web/src/routes/api/cloud/__tests__/bootstrap.test.ts > POST /api/cloud/bootstrap > is idempotent for the same admin email

AssertionError: expected "vi.fn()" to be called once, but got 0 times ❯ apps/web/src/routes/api/cloud/__tests__/bootstrap.test.ts:182:32
expect(vi.mocked(mintMagicLinkUrl)).toHaveBeenCalledOnce()
})
})
Loading