Skip to content

Commit a8c1cf4

Browse files
committed
test(storage): metadata.contentType now correct from emulator
1 parent 251117e commit a8c1cf4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/storage/e2e/StorageReference.e2e.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,7 @@ describe('storage() -> StorageReference', function () {
200200
metadata.timeCreated.should.be.a.String();
201201
metadata.contentEncoding.should.be.a.String();
202202
metadata.contentDisposition.should.be.a.String();
203-
// if (device.getPlatform() === 'android') {
204-
// FIXME - on iOS and android emulator this is '' (empty) now (new in firebase-tools 10.2.2 ?
205-
// metadata.contentType.should.equal('text/plain');
206-
// }
203+
metadata.contentType.should.equal('text/plain');
207204
metadata.bucket.should.equal(`${firebase.app().options.projectId}.appspot.com`);
208205
metadata.metageneration.should.be.a.String();
209206
metadata.md5Hash.should.be.a.String();

0 commit comments

Comments
 (0)