From 6c23cbbbf00352ee21bad7e853f4e6b549f17cb2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 15 Aug 2021 20:51:08 +0200 Subject: [PATCH] Fix a unit test failure. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- test/utils/CircularArrayTest.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', () => { -- 2.34.1