mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-27 01:16:55 -05:00
chore: fix tests
This commit is contained in:
@@ -27,14 +27,15 @@ describe("Email Verification", async () => {
|
||||
});
|
||||
|
||||
it("should verify email", async () => {
|
||||
await client.verifyEmail({
|
||||
const res = await client.verifyEmail({
|
||||
query: {
|
||||
token,
|
||||
},
|
||||
});
|
||||
expect(res.data?.status).toBe(true);
|
||||
});
|
||||
|
||||
it("should verify email", async () => {
|
||||
it("should redirect to callback", async () => {
|
||||
await client.verifyEmail(
|
||||
{
|
||||
query: {
|
||||
|
||||
Reference in New Issue
Block a user