(url: string, match: RegExp)
| 41 | } |
| 42 | |
| 43 | async function matchResponse(url: string, match: RegExp): Promise<void> { |
| 44 | const response = await fetch(url); |
| 45 | const text = await response.text(); |
| 46 | |
| 47 | assert.match(text, match); |
| 48 | } |
no test coverage detected