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

Skipped cases is not counted in total result #5

Closed
mhalitk opened this issue Jan 6, 2017 · 0 comments · Fixed by #6
Closed

Skipped cases is not counted in total result #5

mhalitk opened this issue Jan 6, 2017 · 0 comments · Fixed by #6
Assignees
Labels

Comments

@mhalitk
Copy link
Owner

mhalitk commented Jan 6, 2017

Below case describes bug.

Case:

salep.skipNext();
salep.case("a case to skip", function() {
  // not important
});
salep.case("a case to success", function() {
  // will succeed
});
salep.case("second case to success", function() {
  // will succeed
});
console.log(salep.getResults().total); // This line prints 2
@mhalitk mhalitk added the bug label Jan 6, 2017
@mhalitk mhalitk self-assigned this Jan 6, 2017
mhalitk pushed a commit that referenced this issue Jan 6, 2017
@mhalitk mhalitk closed this as completed in #6 Jan 6, 2017
mhalitk pushed a commit that referenced this issue Jan 6, 2017
[Issue #5] Fix skipped cases effect to total count
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant