(string: string)
| 30 | } |
| 31 | |
| 32 | function formatTestError(string: string) { |
| 33 | // Strip colors and remove "Check <path>" lines |
| 34 | // as this is always output to stderr |
| 35 | return stripAnsiCode(string).replace(/^Check .+\n/gm, ""); |
| 36 | } |
| 37 | |
| 38 | function testFnWithTempDir( |
| 39 | fn: (t: Deno.TestContext, tempDir: string) => Promise<void>, |
no test coverage detected