(output)
| 246 | .replaceAll(new RegExp(process.cwd().replaceAll("\\", "/"), "g"), "<cwd>"); |
| 247 | |
| 248 | const normalizeError = (output) => |
| 249 | output |
| 250 | .replace(/SyntaxError: .+/, "SyntaxError: <error-message>") |
| 251 | .replaceAll(/\s+at .+(}|\)|\d)/gs, "\n at stack"); |
| 252 | |
| 253 | const normalizeStdout = (stdout) => { |
| 254 | if (typeof stdout !== "string") { |
no outgoing calls
no test coverage detected