We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Only the first describe block is nested under the parent one. The other nested blocks are added to the top level.
Example:
describe('Package', function () { beforeEach(function () { console.log('beforeEach') }); describe('method1', function () { it('does something', function () { console.log('method1') }); }); describe('method2', function () { it('does something', function () { console.log('method2') }); }); });
It produces
But I expect
The text was updated successfully, but these errors were encountered:
Same here. Don't use nested blocks.
Sorry, something went wrong.
No branches or pull requests
Only the first describe block is nested under the parent one. The other nested blocks are added to the top level.
Example:
It produces
But I expect
The text was updated successfully, but these errors were encountered: