(str)
| 58 | |
| 59 | waitFor(pattern) { |
| 60 | function checkPattern(str) { |
| 61 | if (Array.isArray(pattern)) { |
| 62 | return pattern.every((p) => p.test(str)); |
| 63 | } |
| 64 | return pattern.test(str); |
| 65 | } |
| 66 | |
| 67 | return new Promise((resolve, reject) => { |
| 68 | function checkOutput() { |
no test coverage detected
searching dependent graphs…