Skip to content
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

Nested describes are not grouped with groupSuites: true #33

Open
winfieldaj opened this issue Oct 22, 2019 · 0 comments
Open

Nested describes are not grouped with groupSuites: true #33

winfieldaj opened this issue Oct 22, 2019 · 0 comments

Comments

@winfieldaj
Copy link

First time reporting issue. please forgive terrible formatting and such. Also I am at work and not allowed to upload files outside our network, so I typed up a primitive example.

package.json
"karma": "~3.1.1",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.4",
"karma-htmlfile-reporter": "^0.3.8",
"karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "~0.2.2",
"karma-junit-reporter": "~1.2.0",
"karma-webdriver-launcher": "~1.0.5",

Jasmine file
This works as expected:

describe('suite', () =>{ it('should do something', () =>{}); });

But when you nest describe inside another describe, the nested revert to the non-nested look. I would expect the describes to still follow the same pattern of nesting.

describe('is grey and alone', () =>{ it('is green/red and on a new line', () =>{}); describe('expected to be nested AND grey AND alone', => { it('in line with parent describe', () => {} }) });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant