This repository has been archived by the owner on Aug 5, 2021. It is now read-only.
Add grunt task to run tests vs headless chrome #51
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I didn't want to make a sauce labs account to run tests against this.
This uses https://www.npmjs.com/package/mocha-headless-chrome to run mocha tests in the background vs headless chrome using puppeteer.
This also includes the commit from #50
with notes on running these tests vs sauce labs.
On a side note, I see that the build artifacts from this repository are copy+pasted into signal-desktop. I would very much like to see this protocol library become a first class citizen on npm and be a usable library for both node and web/electron, and if there's support from signal for doing this and reviewing PRs, I can make that happen.