(label: string, ok: boolean, detail?: string)
| 48 | } |
| 49 | |
| 50 | function check(label: string, ok: boolean, detail?: string) { |
| 51 | if (ok) pass(label); |
| 52 | else fail(label, detail); |
| 53 | } |
| 54 | |
| 55 | function heading(title: string) { |
| 56 | console.log(`\n── ${title} ${'─'.repeat(Math.max(0, 56 - title.length))}`); |
no test coverage detected
searching dependent graphs…