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