-
Notifications
You must be signed in to change notification settings - Fork 14
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
Improve browser and headless test documentation and examples #20
Conversation
.yarn/releases/yarn-4.0.0-rc.47.cjs
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's up with Yarn, why is it necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It probably wasn't. Removed! 👍
test/index.html
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please move index.html
, index_module.html
, and index_module.js
to a subdirectory? Perhaps ./test/browser
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure thing!
Hi @fsoikin thanks for the review and sorry for the huge lag. But I needed this so I thought I'd brush it up and address your comments. Hope this works! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Thank you for the contribution!
A few improvements:
package.json
scripts to run tests with various approaches:test:node
with the nodemocha
CLItest:browser
withparcel
test:browser:module
withparcel
with the test file as anesm
moduletest:headless
to run headless withpuppeteer
(viamocha-headless-chrome
)