Skip to content
This repository has been archived by the owner on Nov 4, 2020. It is now read-only.

Commit

Permalink
Update test to new defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
btd committed May 29, 2016
1 parent da60aa7 commit 432b303
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/ext/eql.test.js
Expand Up @@ -43,6 +43,8 @@ describe('eql', function() {
});

it('should allow to test with prototypes', function() {
should.config.checkProtoEql = false;

var b = {a: 2};
var a = Object.create(null);
a.a = 2;
Expand All @@ -55,7 +57,7 @@ describe('eql', function() {
b.should.be.eql(a);
}, 'expected Object { a: 2 } to equal { a: 2 } (because A and B have different prototypes)');

should.config.checkProtoEql = false;

});

it('should check one of equal', function() {
Expand Down

0 comments on commit 432b303

Please sign in to comment.