Skip to content

Commit

Permalink
convert utils/isPlainObject test to typescript (reduxjs#3511)
Browse files Browse the repository at this point in the history
Former-commit-id: 87a59e5
  • Loading branch information
cellog authored and timdorr committed Aug 16, 2019
1 parent 5b117c3 commit 6d128e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe('isPlainObject', () => {
expect(isPlainObject(new Date())).toBe(false)
expect(isPlainObject([1, 2, 3])).toBe(false)
expect(isPlainObject(null)).toBe(false)
expect(isPlainObject()).toBe(false)
expect(isPlainObject(undefined)).toBe(false)
expect(isPlainObject({ x: 1, y: 2 })).toBe(true)
})
})

0 comments on commit 6d128e9

Please sign in to comment.