repositories
/
e-mobility-charging-stations-simulator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b02ab21
)
Fix a unit test failure.
author
Jérôme Benoit
<jerome.benoit@sap.com>
Sun, 15 Aug 2021 18:51:08 +0000
(20:51 +0200)
committer
Jé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
patch
|
blob
|
blame
|
history
diff --git
a/test/utils/CircularArrayTest.ts
b/test/utils/CircularArrayTest.ts
index 4686722dd59dd40723c6089fa94682f7097dff39..db1e529e8f0105082cc9defe26978478cc72b618 100644
(file)
--- 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', () => {