Skip to content

Fix async tests in ParseFile-test.js #374

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

Merged
merged 1 commit into from
Jun 18, 2017
Merged

Fix async tests in ParseFile-test.js #374

merged 1 commit into from
Jun 18, 2017

Conversation

aaron-blondeau-dose
Copy link
Contributor

Not sure how widespread of a problem this is, but I recently submitted a PR for ParseFile and noticed that some of the tests for it were not handling async properly and weren't actually executing assertions. This PR addresses ParseFile's tests only.

@facebook-github-bot
Copy link

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at [email protected]. Thanks!

If you are contributing on behalf of someone else (eg your employer): the individual CLA is not sufficient - use https://developers.facebook.com/opensource/cla?type=company instead. Contact [email protected] if you have any questions.

@facebook-github-bot
Copy link

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@flovilmart flovilmart closed this Jun 18, 2017
@flovilmart flovilmart reopened this Jun 18, 2017
@codecov
Copy link

codecov bot commented Jun 18, 2017

Codecov Report

Merging #374 into master will increase coverage by 1.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #374      +/-   ##
==========================================
+ Coverage   84.35%   85.38%   +1.02%     
==========================================
  Files          46       46              
  Lines        3663     3702      +39     
  Branches      835      846      +11     
==========================================
+ Hits         3090     3161      +71     
+ Misses        573      541      -32
Impacted Files Coverage Δ
src/ParseError.js 100% <0%> (ø) ⬆️
src/ParseQuery.js 95.12% <0%> (+0.54%) ⬆️
src/ParseFile.js 82.35% <0%> (+0.98%) ⬆️
src/LiveQueryClient.js 86.95% <0%> (+1.86%) ⬆️
src/ParseLiveQuery.js 80% <0%> (+37.89%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2956dec...a6a89f9. Read the comment docs.

@flovilmart
Copy link
Contributor

Thanks for catching that one!

@flovilmart flovilmart merged commit 42fb0d2 into parse-community:master Jun 18, 2017
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.

3 participants