Skip to content

Commit e84689e

Browse files
committed
convert node to object to avoid prototype errors
1 parent b3a2a50 commit e84689e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/exprTests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ describe('Test expressions', function() {
270270

271271
var dExpr = ast.children[3].right;
272272
dExpr.should.have.property('kind', 'bin');
273-
dExpr.should.deepEqual({
273+
JSON.parse(JSON.stringify(dExpr)).should.deepEqual({
274274
kind: "bin",
275275
left: {
276276
kind: "bin",

0 commit comments

Comments
 (0)