(
page: { request: { get: (url: string) => Promise<any> } },
url: string,
)
| 6 | } |
| 7 | |
| 8 | async function fetchVulnerabilities( |
| 9 | page: { request: { get: (url: string) => Promise<any> } }, |
| 10 | url: string, |
| 11 | ) { |
| 12 | const response = await page.request.get(url) |
| 13 | const body = await response.json() |
| 14 | return { response, body } |
| 15 | } |
| 16 | |
| 17 | test.describe('vulnerabilities API', () => { |
| 18 | test('unscoped package vulnerabilities analysis', async ({ page, baseURL }) => { |
no test coverage detected