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

Fix leak warnings in tests, use mongodb-runner from node_modules #843

Merged
merged 1 commit into from
Mar 5, 2016

Conversation

drew-gross
Copy link
Contributor

This will reduce the amount of garbage spewed to the console in tests.

});
//This causes tests to spew some useless warnings, so disable in test
if (!process.env.TESTING) {
process.on('uncaughtException', (err) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we even have that in here as we don't listen directly?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is to improve the error message when people try to run their app when it's already running. Since adding this the number of bug reports caused by that have dropped to zero so I'd say it's valuable code.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok good! :)

@codecov-io
Copy link

Current coverage is 90.49%

Merging #843 into master will decrease coverage by -1.19% as of ac7d23a

@@            master    #843   diff @@
======================================
  Files           71      71       
  Stmts         4100    4101     +1
  Branches       843     844     +1
  Methods          0       0       
======================================
- Hit           3759    3711    -48
  Partial         10      10       
- Missed         331     380    +49

Review entire Coverage Diff as of ac7d23a

Powered by Codecov. Updated on successful CI builds.

flovilmart added a commit that referenced this pull request Mar 5, 2016
Fix leak warnings in tests, use mongodb-runner from node_modules
@flovilmart flovilmart merged commit fb9f784 into parse-community:master Mar 5, 2016
@drew-gross drew-gross deleted the improve-tests branch April 5, 2016 21:52
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

Successfully merging this pull request may close these issues.

4 participants