(name: string, cond: boolean, detail?: string)
| 22 | |
| 23 | let failures = 0; |
| 24 | function check(name: string, cond: boolean, detail?: string): void { |
| 25 | if (cond) { |
| 26 | console.log(` ok ${name}`); |
| 27 | } else { |
| 28 | failures++; |
| 29 | console.log(`FAIL ${name}${detail ? ` — ${detail}` : ""}`); |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | try { |
| 34 | // Bundle with the SAME flags the package build uses (esm, node target), so |
no outgoing calls
no test coverage detected