MCPcopy
hub / github.com/freshframework/fresh / generateFilePaths

Function generateFilePaths

www/utils/screenshot.ts:19–26  ·  view source on GitHub ↗
(
  id: string,
)

Source from the content-addressed store, hash-verified

17}
18
19export 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
28export async function captureScreenshot(
29 url: string,

Callers 2

screenshot_test.tsFile · 0.90
captureScreenshotFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected