Fix occassionally slow frame-error-capture tests
These tests access the `error.stack` property, which in turn triggers the `Error.prepareStackTrace` [1] handler installed by source-map-support [2]. This is expensive and has caused some CI timeouts. The workaround is to disable the `error.stack` processing for the duration of these tests. [1] https://v8.dev/docs/stack-trace-api#customizing-stack-traces [2] https://github.com/evanw/node-source-map-support/blob/ac2c3e4c633c66931981ac94b44e6963addbe3f4/source-map-support.js#L584
Showing
Please register or sign in to comment