(name: string, fn: () => Promise<void>, timeout?: number)
| 70 | } |
| 71 | |
| 72 | function testIfSelected(name: string, fn: () => Promise<void>, timeout?: number) { |
| 73 | if (selectedTests !== null && !selectedTests.includes(name)) { |
| 74 | test.skip(name, fn, timeout); |
| 75 | } else { |
| 76 | test(name, fn, timeout); |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | // --- Eval collector --- |
| 81 |
no test coverage detected