Skip to content

Commit

Permalink
tests(flip): correct type error test
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Hamilton committed Aug 3, 2019
1 parent bf93054 commit db07645
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/__tests__/flip.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,11 @@ describe('flip', () => {
.toThrow(new TypeError('Expected Object, got string testing'));
expect(() => flip({}, {
follow: invalidFollow as boolean,
useToString: false,
}))
.toThrow(new TypeError('Expected Boolean, got string testing'));
expect(() => flip({}, {
follow: false,
useToString: invalidUseToString as boolean,
}))
.toThrow(new TypeError('Expected Boolean, got string testing'));
Expand Down

0 comments on commit db07645

Please # to comment.