mirror of
https://github.com/J3vb/OwnCord.git
synced 2026-09-03 03:50:00 +03:00
fix: format gif-provider.test.ts with Prettier
This commit is contained in:
@@ -139,9 +139,7 @@ describe("searchGifs", () => {
|
||||
});
|
||||
|
||||
it("maps multiple results in order", async () => {
|
||||
mockFetch.mockResolvedValue(
|
||||
okResponse([gifResult("a"), gifResult("b"), gifResult("c")]),
|
||||
);
|
||||
mockFetch.mockResolvedValue(okResponse([gifResult("a"), gifResult("b"), gifResult("c")]));
|
||||
const gifs = await searchGifs("cats");
|
||||
expect(gifs.map((g) => g.id)).toEqual(["a", "b", "c"]);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user