tap-nirvana.js
function removeUselessStackLines(stack) {
  let pretty = stack.split('\n');
  pretty = pretty.filter((line) => {
    return !line.includes('node_modules') && !line.includes('Error');
  });  
  pretty = pretty.join('\n');
  return pretty;
}
function removeUselessStackLines(stack) {
  let pretty = stack.split('\n');
  pretty = pretty.filter((line) => {
    return !line.includes('node_modules') && !line.includes('Error');
  });  
  pretty = pretty.join('\n');
  return pretty;
}
function removeUselessStackLines ( stack ) { let pretty = stack . split ( '\n' ) ; pretty = pretty . filter ( ( line ) => { return ! line . includes ( 'node_modules' ) && ! line . includes ( 'Error' ) ; } ) ; pretty = pretty . join ( '\n' ) ; return pretty ; }
Remove lines from error stack that belong to test runner. Nobody cares
@param {*String} stack
Remove lines from error stack that belong to test runner . Nobody cares