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 9533e4c

Browse files
committedApr 26, 2019
Remove needless varible
1 parent 043092c commit 9533e4c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎packages/expect/src/jasmineUtils.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,8 @@ function eq(
126126
return false;
127127
}
128128

129-
var aIsDomNode = isDomNode(a);
130129
// Use DOM3 method isEqualNode (IE>=9)
131-
if (aIsDomNode && isDomNode(b)) {
130+
if (isDomNode(a) && isDomNode(b)) {
132131
return a.isEqualNode(b);
133132
}
134133

0 commit comments

Comments
 (0)
Please sign in to comment.