voorhoede / lighthouse-security

Runs the default Google Lighthouse tests with additional security tests
https://github.com/voorhoede/lighthouse-security#readme
Apache License 2.0
198 stars 13 forks source link

Chore/test coverage #49

Closed jbmoelker closed 7 years ago

jbmoelker commented 7 years ago

Requires #48 to be merged first.

Uses Istanbul to create test coverage of the unit tests in HTML. Same principle as GoogleChrome's Lighthouse setup but using the new nyc package Istanbul suggests to use.

Usage:

yarn coverage
open coverage/index.html

Result:

screen shot 2017-08-19 at 14 13 47