Skip to content

Commit 06f171b

Browse files
committed
Anys on the specs, to tsc doesn't fail
1 parent c995642 commit 06f171b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/auth/auth.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ describe('AngularFireAuth', () => {
8383

8484
it('should have an initialized Firebase app', () => {
8585
expect(afAuth.auth.app).toBeDefined();
86-
expect(afAuth.auth.app).toEqual(app);
86+
expect(<any>afAuth.auth.app).toEqual(app);
8787
});
8888

8989
it('should emit auth updates through authState', (done: any) => {
@@ -159,7 +159,7 @@ describe('AngularFireAuth with different app', () => {
159159

160160
it('should have an initialized Firebase app', () => {
161161
expect(afAuth.auth.app).toBeDefined();
162-
expect(afAuth.auth.app).toEqual(app);
162+
expect(<any>afAuth.auth.app).toEqual(app);
163163
});
164164

165165
it('should have an initialized Firebase app instance member', () => {

src/database/database.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ describe('AngularFireDatabase', () => {
3838

3939
it('should have an initialized Firebase app', () => {
4040
expect(db.database.app).toBeDefined();
41-
expect(db.database.app).toEqual(app);
41+
expect(<any>db.database.app).toEqual(app);
4242
});
4343

4444
it('should accept a Firebase App in the constructor', () => {
@@ -92,7 +92,7 @@ describe('AngularFireDatabase w/options', () => {
9292

9393
it('should have an initialized Firebase app', () => {
9494
expect(db.database.app).toBeDefined();
95-
expect(db.database.app).toEqual(app);
95+
expect(<any>db.database.app).toEqual(app);
9696
});
9797

9898
it('should have an initialized Firebase app instance member', () => {

src/firestore/firestore.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ describe('AngularFirestore', () => {
4444

4545
it('should have an initialized Firebase app', () => {
4646
expect(afs.firestore.app).toBeDefined();
47-
expect(afs.firestore.app).toEqual(app);
47+
expect(<any>afs.firestore.app).toEqual(app);
4848
});
4949

5050
it('should create an AngularFirestoreDocument from a string path', () => {
@@ -128,7 +128,7 @@ describe('AngularFirestore with different app', () => {
128128

129129
it('should have an initialized Firebase app', () => {
130130
expect(afs.firestore.app).toBeDefined();
131-
expect(afs.firestore.app).toEqual(app);
131+
expect(<any>afs.firestore.app).toEqual(app);
132132
});
133133

134134
it('should have an initialized Firebase app instance member', () => {

0 commit comments

Comments
 (0)