Skip to content

Commit

Permalink
Remove needless varible
Browse files Browse the repository at this point in the history
  • Loading branch information
Connormiha committed Apr 24, 2019
1 parent 690c194 commit 5c5de91
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/expect/src/jasmineUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,8 @@ function eq(
return false;
}

var aIsDomNode = isDomNode(a);
// Use DOM3 method isEqualNode (IE>=9)
if (aIsDomNode && isDomNode(b)) {
if (isDomNode(a) && isDomNode(b)) {
return a.isEqualNode(b);
}

Expand Down

0 comments on commit 5c5de91

Please sign in to comment.