Skip to content

Commit 095548a

Browse files
authored
Update storage.spec.ts
1 parent 47b5cfa commit 095548a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/storage/storage.spec.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { AngularFireStorage, AngularFireStorageModule, AngularFireUploadTask, BU
66
import { COMMON_CONFIG } from '../test-config';
77
import 'firebase/storage';
88
import { rando } from '../firestore/utils.spec';
9-
import { AngularFirestoreStorageUrl } from './pipes/storageUrl.pipe'
9+
import { AngularFirestoreStorageUrl } from './pipes/storageUrl.pipe';
1010

1111
describe('AngularFireStorage', () => {
1212
let app: FirebaseApp;
@@ -138,24 +138,24 @@ describe('AngularFireStorage', () => {
138138

139139
describe('pipes', () => {
140140
it('ngfbStorageUrl should download a url', (done) => {
141-
const data = { angular: "fire" };
141+
const data = { angular: 'fire' };
142142
const blob = new Blob([JSON.stringify(data)], { type : 'application/json' });
143143
const ref = afStorage.ref('af.json');
144144
const task = ref.put(blob);
145-
const ngfbStorageUrl = new AngularFirestoreStorageUrl( afStorage )
146-
145+
const ngfbStorageUrl = new AngularFirestoreStorageUrl( afStorage );
146+
147147
// Wait for the upload
148-
task.then(()=>{
148+
task.then(() => {
149149
ngfbStorageUrl.transform('af.json')
150150
.subscribe(
151151
url => {
152152
expect(url).toBeDefined();
153153
done();
154154
},
155155
done.fail
156-
)
156+
);
157157
})
158-
.catch( done.fail )
158+
.catch( done.fail );
159159
});
160160
});
161161

0 commit comments

Comments
 (0)