Add node modules and new code for release (#168)

Co-authored-by: OliverMKing <OliverMKing@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2022-02-02 10:11:19 -05:00
committed by GitHub
parent ca8d2604ac
commit a0f00e5017
8092 changed files with 1732166 additions and 149 deletions
+15
View File
@@ -0,0 +1,15 @@
var inspect = require('../../');
var test = require('tape');
test('dom element', function (t) {
t.plan(1);
var d = document.createElement('div');
d.setAttribute('id', 'beep');
d.innerHTML = '<b>wooo</b><i>iiiii</i>';
t.equal(
inspect([d, { a: 3, b: 4, c: [5, 6, [7, [8, [9]]]] }]),
'[ <div id="beep">...</div>, { a: 3, b: 4, c: [ 5, 6, [ 7, [ 8, [Object] ] ] ] } ]'
);
});