()
| 95 | } |
| 96 | |
| 97 | async getAllowlist() { |
| 98 | const contents = await fs.readFile(this.allowlist, "utf-8"); |
| 99 | const table = new Set(); |
| 100 | |
| 101 | for (const line of contents.split("\n")) { |
| 102 | const testId = TestRunner.getTestIdFromAllowlistLine(line); |
| 103 | if (testId) table.add(testId); |
| 104 | } |
| 105 | |
| 106 | return table; |
| 107 | } |
| 108 | |
| 109 | /** |
| 110 | * Update the allowlist based on the test results. |
no test coverage detected