[ X ] Check that your change/fix has corresponding unit tests
[ X ] Verify that the test works by running npm test and test linting by npm run lint
[ X ] Squash commits so it looks sane
Description
Please describe your pull request and tell us the fix #
I currently use the Coach programmatically and display the results for a given analyzed web page. I would like to be able to use and to display the HAR data as well. It seems like that would be a useful thing for me to be able to do. When running the coach programmatically, passing true as the 5th param will make the HAR part of the advice if the HAR was in the result from runBrowserTime(). If the HAR data is not available, the advice is returned without the HAR data.
I do think the Coach is a great tool! I have really enjoyed using it. I wanted to give this bit of functionality back in case it might be something useful to others using the Coach programmatically.
Your checklist for this pull request
Please review the guidelines for contributing to this repository.
npm test
and test linting bynpm run lint
Description
Please describe your pull request and tell us the fix # I currently use the Coach programmatically and display the results for a given analyzed web page. I would like to be able to use and to display the HAR data as well. It seems like that would be a useful thing for me to be able to do. When running the coach programmatically, passing true as the 5th param will make the HAR part of the advice if the HAR was in the result from runBrowserTime(). If the HAR data is not available, the advice is returned without the HAR data.
I do think the Coach is a great tool! I have really enjoyed using it. I wanted to give this bit of functionality back in case it might be something useful to others using the Coach programmatically.