Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e9a1873

Browse files
committedFeb 24, 2019
Remove unnecessary comment in eq
1 parent 94e82b8 commit e9a1873

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

‎packages/expect/src/jasmineUtils.ts

-2
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,6 @@ function eq(
106106
// $FlowFixMe – Flow sees `a` as a number
107107
return a == String(b);
108108
case '[object Number]':
109-
// `NaN`s are equivalent, but non-reflexive. An `egal` comparison is performed for
110-
// other numeric values.
111109
return Object.is(Number(a), Number(b));
112110
case '[object Date]':
113111
case '[object Boolean]':

0 commit comments

Comments
 (0)
Please sign in to comment.