Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
Gonzalo-Avalos-Ribas committed Jul 29, 2024
1 parent a117d20 commit 22d7a5c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/steps/ms-defender/client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,13 @@ test('iterateMachinesPagination', async () => {
createMockIntegrationLogger(),
integrationConfig,
);
let spy = jest.spyOn(client as any, 'callApiWithRetry')
let spy = jest.spyOn(client as any, 'callApiWithRetry');
const machines: Machine[] = [];
await client.iterateMachines((machine) => {
machines.push(machine);
}, 1);

expect(machines.length).toBeGreaterThan(0);
expect(machines).toMatchSnapshot();
expect(spy.mock.calls).toHaveLength(machines.length + 1)
},500_000);
expect(spy.mock.calls).toHaveLength(machines.length + 1);
}, 500_000);

0 comments on commit 22d7a5c

Please sign in to comment.