Skip to content

Commit c061a2a

Browse files
committed
chore(test): add expect for isObjectEmpty guard
1 parent d571688 commit c061a2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/guards.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ describe('isObjectEmpty', (test) => {
107107
})
108108

109109
test('should return false if the value is not an empty object', () => {
110+
expect(isObjectEmpty([])).toBe(false)
110111
expect(isObjectEmpty({ a: 1 })).toBe(false)
111112
})
112113
})

0 commit comments

Comments
 (0)