test.js 510 B

12345678
  1. global.asdf = Object.assign(new Error('foo'), { path: '/some/path', pkgid: 'some@package', file: '/some/file', stack: 'hello' })
  2. console.log(Object.entries(asdf).length > 0)
  3. asdf = Object.assign(new Error('foo'), { path: '/some/path', pkgid: 'some@package', file: '/some/file', stack: 'hello' })
  4. console.log(Object.entries(asdf).length > 0)
  5. asdf = Object.assign(new Error('foo'), { path: '/some/path', pkgid: 'some@package', file: '/some/file', stack: 'hello' })
  6. console.log(Object.entries(asdf).length > 0)