()
| 109 | |
| 110 | // See: https://v8.dev/docs/stack-trace-api |
| 111 | function captureStackTraces () { |
| 112 | const target = {} |
| 113 | const original = Error.prepareStackTrace |
| 114 | |
| 115 | Error.prepareStackTrace = prepareStackTrace |
| 116 | Error.captureStackTrace(target, captureStackTraces) |
| 117 | |
| 118 | const capturedTraces = target.stack |
| 119 | Error.prepareStackTrace = original |
| 120 | |
| 121 | return capturedTraces |
| 122 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…