We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7139a2c commit 8ebc22dCopy full SHA for 8ebc22d
tests/unit/apiClient.test.ts
@@ -59,7 +59,7 @@ describe("ApiClient", () => {
59
totalCount: 2,
60
};
61
62
- const mockGet = jest.fn().mockImplementation(async () => ({
+ const mockGet = jest.fn().mockImplementation(() => ({
63
data: mockProjects,
64
error: null,
65
response: new Response(),
@@ -80,7 +80,7 @@ describe("ApiClient", () => {
80
detail: "Something went wrong",
81
82
83
84
data: null,
85
error: mockError,
86
0 commit comments