Skip to content
This repository has been archived by the owner on Apr 2, 2023. It is now read-only.

Commit

Permalink
test(equals): fix type complaint in equals test
Browse files Browse the repository at this point in the history
  • Loading branch information
tdreyno committed Mar 4, 2020
1 parent c1a4f9e commit 36bdcce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/__tests__/equals.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ describe("equals", () => {
const isFive = equals(5)

expect(isFive(5)).toBe(true)
expect(isFive(null)).toBe(false)
// eslint-disable-next-line @typescript-eslint/no-explicit-any
expect(isFive(null as any)).toBe(false)
expect(isFive(-5)).toBe(false)
})
})

0 comments on commit 36bdcce

Please sign in to comment.