-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Download browser coverage, rm PhantomJS hook
This is accomplished by exposing a `/coverage.json` endpoint from `tests/helpers/coverage-middleware.js`. live-server loads it unconditionally, since it doesn't have much of a performance impact at all. `./go test browser --coverage` behaves the same, but it has a reduced dependency on PhantomJS after eliminating its `afterEnd` hook. Also removes the vestigial `_test_browser_generate_coverage_report` that should've been removed in #50.
- Loading branch information
Showing
4 changed files
with
37 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.