test: align loader with unavailable demo

This commit is contained in:
Evandro Fonseca Junior committed 2026-09-04 22:08:04 -03:00
1 parent 0ae5d2f784
commit e2b20bc699
1 file changed
+1 -1
+1 -1
View File
@@ -206,7 +206,7 @@ describe("loadFeaturedProjects", () => {
expect(result.map(({ id }) => id)).toEqual(featuredIds);
expect(previous?.demoAvailability).toBe("available");
expect(previous?.demoCheckedAt).toBe("2020-01-01T00:00:00.000Z");
expect(unknown?.demoAvailability).toBe("unknown");
expect(unknown?.demoAvailability).toBe("none");
expect(unknown?.demoCheckedAt).toBeNull();
expect(createProjectHealthSnapshot).toHaveBeenCalledTimes(1);
} finally {