Skip to content

Commit

Permalink
sacrifices to the Type gods
Browse files Browse the repository at this point in the history
  • Loading branch information
pzl committed Jan 29, 2020
1 parent 93a0d4b commit 2de4e1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/endpoint/server/routes/endpoints.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ describe('test endpoint route', () => {

it('should return a single endpoint', async () => {
const mockRequest = httpServerMock.createKibanaRequest({
params: { id: data.hits.hits[0]._id },
params: { id: (data as any).hits.hits[0]._id },
});
const response: SearchResponse<EndpointMetadata> = (data as unknown) as SearchResponse<
EndpointMetadata
Expand Down

0 comments on commit 2de4e1e

Please sign in to comment.