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

Error log numbers don't reset when tests are re-run #31

Open
whyboris opened this issue May 20, 2017 · 0 comments
Open

Error log numbers don't reset when tests are re-run #31

whyboris opened this issue May 20, 2017 · 0 comments

Comments

@whyboris
Copy link

whyboris commented May 20, 2017

Unsure if this is intended behavior or not:

For example:

  • two tests fail with 1) and 2) displaying with their associated errors.
  • you edit a file, save, triggering the tests to run again
  • when any tests fail (let's say the same two test fail again)
  • the numbers accompanying the errors in the error report will say 3) and 4)
  • when tests run again, if three tests fail, 5), 6), and 7) will show

The only way to reset the counter is to exit the testing Ctrl + C and restart npm test

Expected behavior:

  • Tests' error logged ordered list will always start at 1)

I can happily submit a PR for this; it takes only a few lines of code to fix

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