(s)
| 65 | |
| 66 | const sleep = (ms) => new Promise((r) => setTimeout(r, ms)) |
| 67 | const clean = (s) => s.replace(/\x1b\[[0-9;?]*[a-zA-Z]/g, "") |
| 68 | |
| 69 | function assertContains(label, needle) { |
| 70 | const ok = clean(stdout.output).includes(needle) |
no outgoing calls
no test coverage detected