feat(timeline): start at today + infinite scroll into the past #65
@@ -82,7 +82,7 @@ describe("GET /api/cron/auth-anomaly-check — cron secret enforcement", () => {
|
|||||||
const { GET } = await importRoute();
|
const { GET } = await importRoute();
|
||||||
const res = await GET(makeRequest());
|
const res = await GET(makeRequest());
|
||||||
expect(res.status).toBe(401);
|
expect(res.status).toBe(401);
|
||||||
});
|
}, 15_000); // next/server cold-import can take >5s on the act runner
|
||||||
|
|
||||||
it("proceeds when verifyCronSecret returns null (allowed)", async () => {
|
it("proceeds when verifyCronSecret returns null (allowed)", async () => {
|
||||||
verifyCronSecretMock.mockReturnValue(null);
|
verifyCronSecretMock.mockReturnValue(null);
|
||||||
|
|||||||
Reference in New Issue
Block a user