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

refactor: type fixes and some light housekeeping #528

Merged
merged 2 commits into from
Mar 7, 2019
Merged

refactor: type fixes and some light housekeeping #528

merged 2 commits into from
Mar 7, 2019

Conversation

callmehiphop
Copy link
Contributor

@callmehiphop callmehiphop commented Mar 6, 2019

Fixes #507
Fixes #526
Closes #525

  • Tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 6, 2019
@callmehiphop callmehiphop added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Mar 6, 2019
@@ -233,14 +233,5 @@ describe('Snapshot', () => {

snapshot.delete(done);
});

Copy link
Contributor

Choose a reason for hiding this comment

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

So... what's up with the deleted test?

Copy link
Contributor Author

@callmehiphop callmehiphop Mar 6, 2019

Choose a reason for hiding this comment

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

They were useless. We would do a callback = callback || noop but callback will never be undefined because omitting it just uses the promisified version.

@JustinBeckwith
Copy link
Contributor

LGTM, assuming tests pass :)

@codecov
Copy link

codecov bot commented Mar 6, 2019

Codecov Report

Merging #528 into master will decrease coverage by 0.17%.
The diff coverage is 86.27%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #528      +/-   ##
==========================================
- Coverage   94.95%   94.78%   -0.18%     
==========================================
  Files          16       16              
  Lines         992      959      -33     
  Branches       87       84       -3     
==========================================
- Hits          942      909      -33     
  Misses         42       42              
  Partials        8        8
Impacted Files Coverage Δ
src/iam.ts 100% <100%> (ø) ⬆️
src/index.ts 100% <100%> (ø) ⬆️
src/pubsub.ts 100% <100%> (ø) ⬆️
src/snapshot.ts 100% <100%> (ø) ⬆️
src/subscription.ts 100% <100%> (ø) ⬆️
src/topic.ts 89.85% <56.25%> (-1.4%) ⬇️

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 416ef66...4b62b70. Read the comment docs.

@callmehiphop callmehiphop removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Mar 6, 2019
@callmehiphop callmehiphop merged commit 52981aa into googleapis:master Mar 7, 2019
yoshi-automation added a commit that referenced this pull request May 8, 2020
Source-Author: Benjamin E. Coe <[email protected]>
Source-Date: Wed May 6 13:16:18 2020 -0700
Source-Repo: googleapis/synthtool
Source-Sha: be74d3e532faa47eb59f1a0eaebde0860d1d8ab4
Source-Link: googleapis/synthtool@be74d3e
gcf-merge-on-green bot pushed a commit that referenced this pull request May 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants