From: Jérôme Benoit Date: Sun, 15 Aug 2021 18:51:08 +0000 (+0200) Subject: Fix a unit test failure. X-Git-Tag: v1.0.36~1 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=6c23cbbbf00352ee21bad7e853f4e6b549f17cb2;p=e-mobility-charging-stations-simulator.git Fix a unit test failure. Signed-off-by: Jérôme Benoit --- diff --git a/test/utils/CircularArrayTest.ts b/test/utils/CircularArrayTest.ts index 4686722d..db1e529e 100644 --- a/test/utils/CircularArrayTest.ts +++ b/test/utils/CircularArrayTest.ts @@ -9,7 +9,7 @@ describe('Circular array test suite', () => { it('Verify circular array default size at instance creation', () => { const circularArray = new CircularArray(); - expect(circularArray.size).toBe(2000); + expect(circularArray.size).toBe(Number.MAX_SAFE_INTEGER); }); it('Verify that circular array size can be set at instance creation', () => {