-
Notifications
You must be signed in to change notification settings - Fork 3.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
Crash if a "describe" block does not have a callback function #2115
Labels
Comments
I confirmed this bug is still happening in Cypress 3.8.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
reproduction in https://github.com/cypress-io/cypress-test-tiny branch
empty-describe
Whenever
describe
has just a function, or just a name (without a callback function) Cypress (probably Mocha engine inside) dies a violent death. Both these crash withUncaught TypeError: Cannot read property 'call' of undefined
Code at crash site
Note that tests without a callback function are fine, they are just pending, so
it('works')
has no problems.The text was updated successfully, but these errors were encountered: