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:
5f60a7f
)
Cleanups
author
Jérôme Benoit
<jerome.benoit@sap.com>
Tue, 25 Oct 2022 22:14:03 +0000
(
00:14
+0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Tue, 25 Oct 2022 22:14:03 +0000
(
00:14
+0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
test/utils/UtilsTest.ts
patch
|
blob
|
blame
|
history
diff --git
a/test/utils/UtilsTest.ts
b/test/utils/UtilsTest.ts
index 97289ff94ab43fbc0186696f3e44e181c25023e5..c431642e2f190600129afed6cc620b99c1b768ec 100644
(file)
--- a/
test/utils/UtilsTest.ts
+++ b/
test/utils/UtilsTest.ts
@@
-87,10
+87,10
@@
describe('Utils test suite', () => {
it('Verify isEmptyObject()', () => {
expect(Utils.isEmptyObject({})).toBe(true);
+ expect(Utils.isEmptyObject({ 1: 1, 2: 2 })).toBe(false);
expect(Utils.isEmptyObject(null)).toBe(false);
expect(Utils.isEmptyObject(undefined)).toBe(false);
expect(Utils.isEmptyObject(new Map())).toBe(false);
expect(Utils.isEmptyObject(new Set())).toBe(false);
- expect(Utils.isEmptyObject({ 1: 1, 2: 2 })).toBe(false);
});
});