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 firebase storage resumable uploads #5018

Merged
merged 3 commits into from
Sep 26, 2022

Conversation

Yuangwang
Copy link
Contributor

Description

Fixes issue where resumable uploads were not working properly #4927

Scenarios Tested

Reproduced issue locally and also added new test that matches the conformance tests too.

@codecov-commenter
Copy link

codecov-commenter commented Sep 26, 2022

Codecov Report

Base: 57.16% // Head: 57.17% // Increases project coverage by +0.01% 🎉

Coverage data is based on head (5963726) compared to base (1c1bd04).
Patch coverage: 0.00% of modified lines in pull request are covered.

❗ Current head 5963726 differs from pull request most recent head 1c91e76. Consider uploading reports for the commit 1c91e76 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5018      +/-   ##
==========================================
+ Coverage   57.16%   57.17%   +0.01%     
==========================================
  Files         295      295              
  Lines       19633    19633              
  Branches     3919     3919              
==========================================
+ Hits        11223    11225       +2     
+ Misses       7459     7457       -2     
  Partials      951      951              
Impacted Files Coverage Δ
src/emulator/storage/apis/firebase.ts 4.25% <0.00%> (ø)
src/emulator/auth/state.ts 85.43% <0.00%> (+0.56%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@tonyjhuang tonyjhuang left a comment

Choose a reason for hiding this comment

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

🌟

@Yuangwang Yuangwang merged commit 81db012 into master Sep 26, 2022
@@ -332,6 +332,43 @@ describe("Firebase Storage endpoint conformance tests", () => {
})
.expect(400);
});

it("hould handle resumable uploads with without upload protocol set", async () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

"should"

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