Skip to content

Commit e286df1

Browse files
committed
fix: formatting
1 parent d3137fb commit e286df1

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

packages/storage/e2e/StorageTask.e2e.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,10 @@ describe('storage() -> StorageTask', function () {
349349

350350
it('should have access to the snapshot values outside of the event subscriber', async function () {
351351
const { getStorage, ref, uploadString, TaskState } = storageModular;
352-
const uploadTaskSnapshot = uploadString(ref(getStorage(), `${PATH}/putStringBlob.json`), 'Just a string to put in a file for upload');
352+
const uploadTaskSnapshot = uploadString(
353+
ref(getStorage(), `${PATH}/putStringBlob.json`),
354+
'Just a string to put in a file for upload',
355+
);
353356
const { resolve, promise } = Promise.defer();
354357
uploadTaskSnapshot.on('state_changed', {
355358
next: snapshot => {
@@ -1040,7 +1043,7 @@ describe('storage() -> StorageTask', function () {
10401043
});
10411044

10421045
it('should have access to the snapshot values outside of the Task thennable', async function () {
1043-
const { getStorage, ref, uploadBytesResumable, TaskState } = storageModular;
1046+
const { getStorage, ref, uploadBytesResumable } = storageModular;
10441047
const jsonDerulo = JSON.stringify({ foo: 'bar' });
10451048

10461049
const bob = new Blob([jsonDerulo], {
@@ -1142,7 +1145,7 @@ describe('storage() -> StorageTask', function () {
11421145
});
11431146

11441147
it('uploads a file without read permission', async function () {
1145-
const { getStorage, ref, uploadString, TaskState } = storageModular;
1148+
const { getStorage, ref, uploadString, TaskState } = storageModular;
11461149
const uploadTaskSnapshot = await uploadString(
11471150
ref(getStorage(), WRITE_ONLY_NAME),
11481151
'Just a string to put in a file for upload',
@@ -1189,7 +1192,7 @@ describe('storage() -> StorageTask', function () {
11891192

11901193
describe('on()', function () {
11911194
before(async function () {
1192-
const { getStorage, ref, uploadString, } = storageModular;
1195+
const { getStorage, ref, uploadString } = storageModular;
11931196

11941197
await uploadString(
11951198
ref(getStorage(), `${PATH}/ok.json`),

0 commit comments

Comments
 (0)