Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaituVR committed Dec 27, 2023
1 parent fd242ec commit c37b07a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,10 @@ describe('formatStrategies function', () => {
});

it(`should limit strategies to ${MAX_STRATEGIES}`, () => {
const strategies = new Array(12).fill({ name: 'strategy', param: 'a' });
const strategies = new Array(MAX_STRATEGIES + 1).fill({
name: 'strategy',
param: 'a'
});
const network = 'defaultNetwork';

const formattedStrategies = formatStrategies(network, strategies);
Expand Down

0 comments on commit c37b07a

Please sign in to comment.