-
-
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
xdescribe executes the code #3630
Comments
Not quite sure if this is by design or not. |
@craigtaub I couldn't find any docs for xdescribe -- where did you see that "Docs suggest should be executed"? |
@uluhonolulu sorry i meant "not" executed. xdescribe same as |
Yes, this is by design. The reasoning is that |
Prerequisites
faq
labelnode node_modules/.bin/mocha --version
(Local) andmocha --version
(Global). We recommend avoiding the use of globally installed Mocha. (doesn't apply here)Description
The code that runs inside an
xdescribe
block is executed, although it's not supposed to.Steps to Reproduce
Expected behavior:
No console output
Actual behavior:
"YOOO" in the console output
Reproduces how often:
Always
Versions
mocha --version
andnode node_modules/.bin/mocha --version
:5.2.0
node --version
:v8.11.2
Windows 7
VSCode terminal
The text was updated successfully, but these errors were encountered: