(name, ok, detail)
| 185 | const errors = [] |
| 186 | const failures = [] |
| 187 | const check = (name, ok, detail) => { |
| 188 | if (ok) console.log(` PASS ${name}`) |
| 189 | else { failures.push(name); console.error(` FAIL ${name}${detail ? ` — ${detail}` : ''}`) } |
| 190 | } |
| 191 | |
| 192 | let client |
| 193 | try { |