chore: fix tests

This commit is contained in:
Bereket Engida
2024-10-15 21:31:55 +03:00
parent 2f314e8d98
commit fc765e5658

View File

@@ -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: {