Fix a unit test failure.
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 15 Aug 2021 18:51:08 +0000 (20:51 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 15 Aug 2021 18:51:08 +0000 (20:51 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
test/utils/CircularArrayTest.ts

index 4686722dd59dd40723c6089fa94682f7097dff39..db1e529e8f0105082cc9defe26978478cc72b618 100644 (file)
@@ -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', () => {