Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecote committed Aug 14, 2024
1 parent 706e033 commit 4e942a1
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,12 @@ describe('TaskPool', () => {
});

test('uses WorkerCapacity to calculate capacity when strategy is default', () => {
new TaskPool({ capacity$: of(20), definitions, logger, strategy: CLAIM_STRATEGY_UPDATE_BY_QUERY });
new TaskPool({
capacity$: of(20),
definitions,
logger,
strategy: CLAIM_STRATEGY_UPDATE_BY_QUERY,
});

expect(CostCapacityModule.CostCapacity).not.toHaveBeenCalled();
expect(WorkerCapacityModule.WorkerCapacity).toHaveBeenCalledTimes(1);
Expand Down

0 comments on commit 4e942a1

Please sign in to comment.