import log from '../src' it('prevent outputting items with empty value', () => { expect(log.tree({ a: 1, b: null, c: { c1: undefined, c2: 1 }, d: { d1: undefined } })) .not.toContain('c1') })