(name, detail = "")
| 54 | let currentSuite = ""; |
| 55 | |
| 56 | async function ok(name, detail = "") { |
| 57 | passed++; |
| 58 | const suffix = detail ? ` (${detail})` : ""; |
| 59 | console.log(` PASS ${name}${suffix}`); |
| 60 | await report(currentSuite, name, "pass", detail); |
| 61 | } |
| 62 | |
| 63 | async function fail(name, reason) { |
| 64 | failed++; |
no test coverage detected