(output)
| 18 | }, |
| 19 | { |
| 20 | stderr(output) { |
| 21 | const matches = [...output.matchAll(/at recurse/g)]; |
| 22 | assert.strictEqual(matches.length, 30); |
| 23 | } |
| 24 | }); |
| 25 | |
| 26 | // When the stack trace limit is smaller than the stack trace size, it should truncate the stack size. |