-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make tests run in browsers #2
Comments
I did a little bit of looking into this as earthstar-graphql also needs tests that run in a node-like environment and a browser-like one. In that repo I'm using jest, which lets you configure the environment used for testing: you can use But that's not very useful here, is it? 😅 It seems like tap is made specifically for testing in node environments? I couldn't find docs about configuring it otherwise. I will see how this shakes out in earthstar-graphql, and if there is ever any appetite to migrate tests to jest in this repo, I'm more than happy to help. |
Yeah, turns out ( Commit: 8a2bd98 Docs are in Unfortunately this didn't detect #48 "detChoice problems in browser", it just worked. :/ In headless chrome, anyway. How this worksRun
The browserify step currently can only process one of the *.test.js files. ALSOThe FUTURE IMPROVEMENTSThe npm packages |
Get tooling in place to run all the tests in a browser environment.
The text was updated successfully, but these errors were encountered: