1 | var test = require('tape');
|
2 | var inspect = require('../');
|
3 |
|
4 | var obj = { a: 1, b: [3, 4, undefined, null], c: undefined, d: null };
|
5 |
|
6 | test('undef and null', function (t) {
|
7 | t.plan(1);
|
8 | t.equal(
|
9 | inspect(obj),
|
10 | '{ a: 1, b: [ 3, 4, undefined, null ], c: undefined, d: null }'
|
11 | );
|
12 | });
|