diff --git a/test/scripts/helpers/debug.js b/test/scripts/helpers/debug.js index c31829a547..5bc8b8e4fd 100644 --- a/test/scripts/helpers/debug.js +++ b/test/scripts/helpers/debug.js @@ -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})); });