test: align loader with unavailable demo
This commit is contained in:
1 parent
0ae5d2f784
commit
e2b20bc699
1 file changed
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user