We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79b7b27 commit d8ba8deCopy full SHA for d8ba8de
src/angularfire2.spec.ts
@@ -47,7 +47,7 @@ describe('angularfire', () => {
47
it('should have the provided name', () => {
48
expect(app.name).toBe(APP_NAME);
49
})
50
- it('should use an already intialized firebase app if it exists', async(() => {
+ it('should use an already intialized firebase app if it exists', done => {
51
@NgModule({
52
imports: [
53
AngularFireModule.initializeApp(COMMON_CONFIG, APP_NAME),
@@ -65,7 +65,10 @@ describe('angularfire', () => {
65
.then(moduleRef => {
66
const ref = moduleRef.injector.get(FirebaseApp);
67
expect(ref.name).toEqual(app.name);
68
+ }).then(done, e => {
69
+ fail(e);
70
+ done()
71
});
- }))
72
+ })
73
74
0 commit comments