Skip to content

Commit 5604b89

Browse files
authored
Update api.spec.ts
1 parent da5762b commit 5604b89

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

e2e/api.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ async function buildSessionCookie(): Promise<string> {
2626
accessToken: "mock-access-token",
2727
},
2828
maxAge: 60 * 60,
29+
salt: "next-auth.session-token",
2930
});
3031
}
3132

@@ -158,4 +159,4 @@ test("[API E2E] /api/metrics/contributions with days param returns valid JSON wh
158159
expect(status).not.toBe(401);
159160
expect(status).not.toBe(403);
160161
expect(typeof body).toBe("object");
161-
});
162+
});

0 commit comments

Comments
 (0)