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