()
| 44 | } |
| 45 | |
| 46 | async run() { |
| 47 | const allowlistP = this.getAllowlist(); |
| 48 | |
| 49 | console.log(`Now running tests...`); |
| 50 | |
| 51 | const results = []; |
| 52 | for await (const result of this.runTests()) { |
| 53 | results.push(result); |
| 54 | if (results.length % this.logInterval === 0) process.stdout.write(dot); |
| 55 | } |
| 56 | process.stdout.write("\n"); |
| 57 | |
| 58 | const summary = this.interpret(results, await allowlistP); |
| 59 | |
| 60 | await this.output(summary); |
| 61 | } |
| 62 | |
| 63 | async *runTests() { |
| 64 | for await (const test of this.getTests()) { |