Skip to content

Example using lighthouse and chrome-launcher for running lighthouse tests with mocha

License

Notifications You must be signed in to change notification settings

rishichawda/lighthouse-mocha-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lighthouse-mocha-example

Example using lighthouse and chrome-launcher for running lighthouse tests with mocha.

Note: This example also uses cli-table to show data in a table format so it is easy to read the data while testing. It is not necessary that you use it since lighthouse supports HTML and JSON data output. For details on it, please read this documentation.

This works with CI environments too!

Also, you might want to run this on a production build since some metrics are not available during development.

About

Example using lighthouse and chrome-launcher for running lighthouse tests with mocha

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published