Skip to content

Commit

Permalink
Remove unnecessary comment in eq
Browse files Browse the repository at this point in the history
  • Loading branch information
dubzzz committed Feb 22, 2019
1 parent b58390b commit 25fbd2e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/expect/src/jasmineUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@ function eq(
// $FlowFixMe – Flow sees `a` as a number
return a == String(b);
case '[object Number]':
// `NaN`s are equivalent, but non-reflexive. An `egal` comparison is performed for
// other numeric values.
return Object.is(Number(a), Number(b));
case '[object Date]':
case '[object Boolean]':
Expand Down

0 comments on commit 25fbd2e

Please sign in to comment.