( id: string, )
| 17 | } |
| 18 | |
| 19 | export function generateFilePaths( |
| 20 | id: string, |
| 21 | ): { image2x: string; image1x: string } { |
| 22 | return { |
| 23 | image2x: `./www/static/showcase/${id}2x.jpg`, |
| 24 | image1x: `./www/static/showcase/${id}1x.jpg`, |
| 25 | }; |
| 26 | } |
| 27 | |
| 28 | export async function captureScreenshot( |
| 29 | url: string, |
no outgoing calls
no test coverage detected