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 dddf509 commit a88ab77Copy full SHA for a88ab77
redisinsight/ui/src/mocks/handlers/instances/instancesHandlers.ts
@@ -72,8 +72,8 @@ export const INSTANCES_MOCK: Instance[] = [
72
73
export const getDatabasesApiSpy = jest
74
.fn()
75
- .mockImplementation(async (_req, res, ctx) =>
76
- res(ctx.status(200), ctx.json(INSTANCES_MOCK)),
+ .mockImplementation(async () =>
+ HttpResponse.json(INSTANCES_MOCK, { status: 200 }),
77
)
78
79
const handlers: HttpHandler[] = [
0 commit comments