-
-
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
Multiple describe.skip
marks other describes as pending
#3184
Labels
status: accepting prs
Mocha can use your help with this one!
type: bug
a defect, confirmed by a maintainer
Comments
I get the same result on: |
boneskull
added
type: bug
a defect, confirmed by a maintainer
status: accepting prs
Mocha can use your help with this one!
labels
Jan 2, 2018
this is likely related to other issues like #2014 |
This was referenced Mar 24, 2018
This was referenced Sep 22, 2018
Closed
Closed
This was referenced Sep 29, 2018
This was referenced Oct 25, 2018
This was referenced Nov 1, 2018
This was referenced Nov 19, 2018
This was referenced Dec 1, 2018
This was referenced Dec 8, 2018
This was referenced Dec 23, 2018
This was referenced Mar 14, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
status: accepting prs
Mocha can use your help with this one!
type: bug
a defect, confirmed by a maintainer
Prerequisites
common mistake
labelnode node_modules/.bin/mocha --version
(Local) andmocha --version
(Global). We recommend avoiding the use of globally installed Mocha.Description
I ran into something weird while using
describe.skip
. If I have nested describes, with at least 2 skipped describes inside one, all other describes will be tagged pending.Steps to Reproduce
First file names 10.test.js:
Second file named 20.test.js
Results in:
Note that it is possible to do this with only one file as well:
test.js:
Results in:
Expected behavior: Only the skipped describes should be marked pending
Actual behavior: All describes after the first two skipped ones will be marked pending.
Reproduces how often: 100%
Versions
The text was updated successfully, but these errors were encountered: