-
Notifications
You must be signed in to change notification settings - Fork 14
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
feat: add flagged describe #433
base: main
Are you sure you want to change the base?
Conversation
@kellyselden re-did the PR to cherry-pick Preston's changes, and added tests. Thanks! |
@@ -136,7 +136,7 @@ describe(function() { | |||
it('works', async function() { | |||
let stats = await this.runTests(); | |||
|
|||
expect(stats.passes).to.equal(1); | |||
expect(stats.passes).to.equal(4); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it was working, I would expect this to be 2, not 4?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So before the tests I added, there was one describe
with three specs in there, I suspected it was counting the successful describe
group of specs.
describe('flag - it', function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be counting passed tests. Before your change, it was counting the test with '!flag1'
because no flags were supplied in the test.
No description provided.