Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
juliaElastic committed Nov 20, 2023
1 parent 09a9fd2 commit 4fca47d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/fleet/server/routes/output/handler.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe('output handler', () => {
jest.spyOn(outputService, 'create').mockResolvedValue({ id: 'output1' } as any);
jest.spyOn(outputService, 'update').mockResolvedValue({ id: 'output1' } as any);
jest.spyOn(outputService, 'get').mockResolvedValue({ id: 'output1' } as any);
jest.spyOn(agentPolicyService, 'bumpAllAgentPoliciesForOutput').mockResolvedValue({});
jest.spyOn(agentPolicyService, 'bumpAllAgentPoliciesForOutput').mockResolvedValue({} as any);
});

it('should return error on post output using remote_elasticsearch in serverless', async () => {
Expand Down

0 comments on commit 4fca47d

Please sign in to comment.