Skip to content

Commit

Permalink
refactor: transform test/utils to ts
Browse files Browse the repository at this point in the history
  • Loading branch information
myNameIsDu committed Aug 1, 2021
1 parent f31d71c commit d062d6e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 0 deletions.
File renamed without changes.
Expand Up @@ -15,6 +15,7 @@ describe('isPlainObject', () => {
expect(isPlainObject(new Date())).toBe(false)
expect(isPlainObject([1, 2, 3])).toBe(false)
expect(isPlainObject(null)).toBe(false)
//@ts-expect-error
expect(isPlainObject()).toBe(false)
expect(isPlainObject({ x: 1, y: 2 })).toBe(true)
expect(isPlainObject(Object.create(null))).toBe(true)
Expand Down
File renamed without changes.

0 comments on commit d062d6e

Please sign in to comment.