Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jillguyonnet committed Feb 12, 2024
1 parent fed9195 commit 7ad15b2
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,18 +114,6 @@ describe('fleet server hosts handler', () => {
expect(res).toEqual({ body: { item: { id: 'host1' } } });
});

it('should return ok on put in serverless if host urls are not passed', async () => {
jest.spyOn(appContextService, 'getCloud').mockReturnValue({ isServerlessEnabled: true } as any);

const res = await putFleetServerHostHandler(
mockContext,
{ body: { name: ['Renamed'] }, params: { outputId: 'host1' } } as any,
mockResponse as any
);

expect(res).toEqual({ body: { item: { id: 'host1' } } });
});

it('should return ok on put in stateful if host url is different from default', async () => {
jest
.spyOn(appContextService, 'getCloud')
Expand Down

0 comments on commit 7ad15b2

Please sign in to comment.