Skip to content

Commit

Permalink
fix jest
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierM committed Nov 30, 2021
1 parent c90f3fc commit ddd8361
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ describe('Telemetry on auth type', () => {
const request = httpServerMock.createKibanaRequest();
const response = await routeHandler(mockContext, request, kibanaResponseFactory);

expect(response.status).toBe(400);
expect(response.payload).toEqual({ message: 'Authentication type can not be empty' });
expect(response.status).toBe(204);
expect(response.payload).toBeUndefined();
expect(mockUsageCounter.incrementCounter).toHaveBeenCalledTimes(0);
});

Expand Down

0 comments on commit ddd8361

Please sign in to comment.