-
Notifications
You must be signed in to change notification settings - Fork 30
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
preserveDescribeNesting nests incorrectly #30
Comments
Hi! I'm facing the same kind of problem -- some tests appear nested below others. |
I can add: even with |
If you avoid having nested or multiple |
@fkereki, the feature On Fri, Nov 27, 2015 at 4:00 PM, fkereki [email protected] wrote:
Jesper Rønn-Jensen |
I also noticed that with both options to true and the following structure: A |
is there a plan to fix these? thanks |
One temporary fix for this is to add dummy tests before any nested describe blocks, but that's just ugly ! describe('A', function() {
it('dummy', function() {});
describe('B', function() {
it('dummy again')
});
describe('C', function() {
});
}); |
Hi
I am getting an incorrectly nesting if I have two test files where only one has deeply nested describe.
Here is the output from my text console when running:
I extracted this example from a private repository.
The above structure is what I expect. However, the HTML report incorrectly displays the nested describe block as being below Group 2. And the heading
Group with nesting
disappears!something like this is displayed:
It appears as if
Nested "describe" block
were added directly belowGroup 2
, which is incorrect.Can you help me debugging this strange thing? Or, can you help me with a test that can show this error in the source code.
The text was updated successfully, but these errors were encountered: