Cleanups
authorJérôme Benoit <jerome.benoit@sap.com>
Tue, 25 Oct 2022 22:14:03 +0000 (00:14 +0200)
committerJé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

index 97289ff94ab43fbc0186696f3e44e181c25023e5..c431642e2f190600129afed6cc620b99c1b768ec 100644 (file)
@@ -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);
   });
 });