We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
runTests
mocha
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
Under "Writing Tests / HTML Tests", you explain that to use Mocha, one must import the runTests function and run the tests in that. Link to page: https://modern-web.dev/docs/test-runner/writing-tests/html-tests/
Under "Test Frameworks / Mocha / Writing HTML tests", you explain that to use Mocha, one must import the mocha object along with sessionFinished and sessionFailed and use those to run the tests. Link to page: https://modern-web.dev/docs/test-runner/test-frameworks/mocha/#writing-html-tests
sessionFinished
sessionFailed
So which one should I use? And what are the differences? There is no documentation explaining any of that.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Under "Writing Tests / HTML Tests", you explain that to use Mocha, one must import the
runTests
function and run the tests in that.Link to page: https://modern-web.dev/docs/test-runner/writing-tests/html-tests/
Under "Test Frameworks / Mocha / Writing HTML tests", you explain that to use Mocha, one must import the
mocha
object along withsessionFinished
andsessionFailed
and use those to run the tests.Link to page: https://modern-web.dev/docs/test-runner/test-frameworks/mocha/#writing-html-tests
So which one should I use? And what are the differences? There is no documentation explaining any of that.
The text was updated successfully, but these errors were encountered: