Simulate Lighthouse responses for testing
Request the page you need.
For example, to test a valid response:
npx lighthouse https://wackylighthouse.com
To test a response with no FCP:
npx lighthouse https://wackylighthouse.com/no-fcp.html
You can even run it through Pagespeed Insights:
curl https://www.googleapis.com/pagespeedonline/v5/runPagespeed\?url\=https://wackylighthouse.com
Start a local server, because Lighthouse can only run on HTTP/HTTPS.
go run cmd/main.go
npx lighthouse http://localhost:8080
Serve the ./static
directory.