Skip to content

Commit

Permalink
Fix test for nodejs v11 or higher
Browse files Browse the repository at this point in the history
Fix test for nodejs v11 or higher
  • Loading branch information
segayuu authored Oct 25, 2018
2 parents 8d33f3c + dd1fbc4 commit bbc2f04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/scripts/helpers/debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe('debug', () => {

it('inspect deep object', () => {
const obj = { baz: { thud: 'narf', dur: { foo: 'bar', baz: { bang: 'zoom' } } } };
debug.inspectObject(obj).should.not.eql(inspect(obj, {depth: 5}));
debug.inspectObject(obj, {depth: 2}).should.not.eql(inspect(obj, {depth: 5}));
debug.inspectObject(obj, {depth: 5}).should.eql(inspect(obj, {depth: 5}));
});

Expand Down

0 comments on commit bbc2f04

Please sign in to comment.