Skip to content

Commit 6d128e9

Browse files
cellogtimdorr
authored andcommitted
convert utils/isPlainObject test to typescript (reduxjs#3511)
Former-commit-id: 87a59e5
1 parent 5b117c3 commit 6d128e9

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)