Skip to content

Commit d062d6e

Browse files
committed
refactor: transform test/utils to ts
1 parent f31d71c commit d062d6e

File tree

3 files changed

+1
-0
lines changed

3 files changed

+1
-0
lines changed
File renamed without changes.

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ describe('isPlainObject', () => {
1515
expect(isPlainObject(new Date())).toBe(false)
1616
expect(isPlainObject([1, 2, 3])).toBe(false)
1717
expect(isPlainObject(null)).toBe(false)
18+
//@ts-expect-error
1819
expect(isPlainObject()).toBe(false)
1920
expect(isPlainObject({ x: 1, y: 2 })).toBe(true)
2021
expect(isPlainObject(Object.create(null))).toBe(true)
File renamed without changes.

0 commit comments

Comments
 (0)