Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
michalstruck committed Feb 26, 2025
1 parent 46d9346 commit c09da7e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions web/tests/api/v2/public/apps/apps.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { GET } from "@/api/v2/public/apps";
import { AllCategory } from "@/lib/categories";
import { Categories } from "@/lib/constants";
import { NextRequest } from "next/server";
import { getSdk as getAppsSdk } from "../../../../../api/v2/public/apps/graphql/get-app-rankings.generated";
Expand Down Expand Up @@ -340,6 +341,7 @@ describe("/api/v2/public/apps", () => {
expect(response.status).toBe(200);
expect(await response.json()).toEqual({
app_rankings: { top_apps: [], highlights: [] },
all_category: AllCategory,
categories: Categories,
});
});
Expand Down Expand Up @@ -571,6 +573,7 @@ describe("/api/v2/public/apps", () => {
},
],
},
all_category: AllCategory,
categories: Categories,
});
});
Expand Down Expand Up @@ -682,6 +685,7 @@ describe("/api/v2/public/apps", () => {
],
highlights: [],
},
all_category: AllCategory,
categories: Categories,
});
});
Expand Down

0 comments on commit c09da7e

Please sign in to comment.