-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
JSON Stream documentation #4027
Labels
area: documentation
anything involving docs or mochajs.org
Comments
outsideris
added
type: bug
a defect, confirmed by a maintainer
area: documentation
anything involving docs or mochajs.org
good first issue
new contributors should look here!
and removed
unconfirmed-bug
labels
Sep 30, 2019
You are right. It is typo. |
Lindsay-Needs-Sleep
added a commit
to Lindsay-Needs-Sleep/mocha
that referenced
this issue
Oct 1, 2019
This was referenced Oct 1, 2019
fixed by #4127 |
juergba
removed
type: bug
a defect, confirmed by a maintainer
good first issue
new contributors should look here!
labels
Jan 3, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prerequisites
faq
labelnode node_modules/.bin/mocha --version
(Local) andmocha --version
(Global). We recommend that you not install Mocha globally.Description
While working on pull request #4026 I noticed that the JSON Stream documentation hints that you should use
"JSON stream"
as the name for the JSON Stream reporter.
But, browser mocha will only accept
"json-stream"
or
"JSONStream"
.See lib/reporters/index.js:19
Is this a typo in the documentation, or is this an inconsistency between browser mocha and node mocha? (eg. node mocha actually accepts "JSON stream"?)
Steps to Reproduce
Expected behavior: documentation reflects usage correctly
Actual behavior: documentation indicates incorrect name for browser mocha (node mocha as well?)
The text was updated successfully, but these errors were encountered: