(stdout: string)
| 9 | import runJest from '../runJest'; |
| 10 | |
| 11 | const removeStackTraces = (stdout: string) => |
| 12 | stdout.replaceAll( |
| 13 | /at (new Promise \(<anonymous>\)|.+:\d+:\d+\)?)/g, |
| 14 | 'at <stacktrace>', |
| 15 | ); |
| 16 | |
| 17 | test('that the failureDetails property is set', () => { |
| 18 | const {stdout, stderr} = runJest('failureDetails-property', [ |
no outgoing calls
no test coverage detected