Skip to content

Commit 601d54d

Browse files
cellogtimdorr
authored andcommitted
convert utils/isPlainObject test to typescript (#3511)
1 parent e48c389 commit 601d54d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/utils/isPlainObject.spec.js renamed to test/utils/isPlainObject.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ describe('isPlainObject', () => {
1616
expect(isPlainObject(new Date())).toBe(false)
1717
expect(isPlainObject([1, 2, 3])).toBe(false)
1818
expect(isPlainObject(null)).toBe(false)
19-
expect(isPlainObject()).toBe(false)
19+
expect(isPlainObject(undefined)).toBe(false)
2020
expect(isPlainObject({ x: 1, y: 2 })).toBe(true)
2121
})
2222
})

0 commit comments

Comments
 (0)