current commit
230427.2 · test: migrate message tests to use assertSnapshot
'use strict';
require('../../common');
Error.stackTraceLimit = 2;

function test() {
  const a = 'abc\0def';
  console.error(a);
  throw new Error(a);
}
Object.defineProperty(test, 'name', { value: 'fun\0name' });

test();