-
Notifications
You must be signed in to change notification settings - Fork 932
Add Storage Integration tests #3414
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
Conversation
🦋 Changeset is good to goLatest commit: 088b404 We got this. This PR includes changesets to release 8 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
…js-sdk into mrschmidt/storagetest
@@ -54,7 +54,11 @@ export class FirebaseStorageError implements Error { | |||
} | |||
|
|||
get message(): string { | |||
return this.message_; | |||
if (this.serverResponse_) { | |||
return this.message_ + '\n' + this.serverResponse_; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added this so that the server response shows up in the error message for "unknown" errors.
Binary Size ReportAffected SDKs
Test Logs |
@@ -16,6 +16,7 @@ | |||
*/ | |||
|
|||
import { base64 } from '@firebase/util'; | |||
import { uint8ArrayFromBinaryString } from '../../util/byte_string'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see Github Actions has inlined this ts error from the build log ('uint8ArrayFromBinaryString' is defined but never used) so that's cool.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed this line.
…js-sdk into mrschmidt/storagetest
This adds a barebones integration test file for Storage. Requires anonymous auth in the test project.