Skip to content
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

[docs] Update glob in docs to include .mjs and .cjs #4593

Closed
jakub-g opened this issue Mar 2, 2021 · 1 comment · Fixed by #4608
Closed

[docs] Update glob in docs to include .mjs and .cjs #4593

jakub-g opened this issue Mar 2, 2021 · 1 comment · Fixed by #4608
Labels
area: documentation anything involving docs or mochajs.org

Comments

@jakub-g
Copy link

jakub-g commented Mar 2, 2021

The docs are saying:

By default, mocha looks for the glob "./test/*.js"

But this contradicts what is written at the beginning of the docs

Mocha discovers test files; when given no files or directories, it finds files with extensions .js, .mjs or .cjs in the test directory (but not its children), relative to the current working directory

@jakub-g jakub-g changed the title [docs] Update glob in docs to include .mjs [docs] Update glob in docs to include .mjs and .cjs Mar 2, 2021
@outsideris outsideris added area: documentation anything involving docs or mochajs.org and removed unconfirmed-bug labels Mar 15, 2021
@outsideris
Copy link
Contributor

Good catch. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: documentation anything involving docs or mochajs.org
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants