infinity-stack-trace.js 157 B

123456789101112
  1. import test from '../..';
  2. Error.stackTraceLimit = 1;
  3. test('test', t => {
  4. const c = () => t.fail();
  5. const b = () => c();
  6. const a = () => b();
  7. a();
  8. });