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 26, 2019
1 parent 043092c commit 9533e4c
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 9533e4c

Please sign in to comment.