Node_modules

This commit is contained in:
luke-hagar-sp
2022-07-22 20:22:32 -05:00
parent 5367764043
commit b2c7832873
299 changed files with 35140 additions and 4 deletions

12
node_modules/object-inspect/test/deep.js generated vendored Normal file
View File

@@ -0,0 +1,12 @@
var inspect = require('../');
var test = require('tape');
test('deep', function (t) {
t.plan(4);
var obj = [[[[[[500]]]]]];
t.equal(inspect(obj), '[ [ [ [ [ [Array] ] ] ] ] ]');
t.equal(inspect(obj, { depth: 4 }), '[ [ [ [ [Array] ] ] ] ]');
t.equal(inspect(obj, { depth: 2 }), '[ [ [Array] ] ]');
t.equal(inspect([[[{ a: 1 }]]], { depth: 3 }), '[ [ [ [Object] ] ] ]');
});