(test, parser)
| 79 | } |
| 80 | |
| 81 | parse(test, parser) { |
| 82 | const tests = typeof test.contents === "string" ? [test] : test.contents; |
| 83 | |
| 84 | for (const { contents, ...options } of tests) { |
| 85 | parser(contents, options); |
| 86 | } |
| 87 | } |
| 88 | |
| 89 | static getTestIdFromAllowlistLine(line) { |
| 90 | return /^- \[(.+?)\]/.exec(line)?.[1]; |
no test coverage detected