Skip to content

Commit 8baf132

Browse files
committed
Remove upset test for now
1 parent 22b6d3c commit 8baf132

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

src/compat/angularfire2.spec.ts

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -90,38 +90,9 @@ describe('angularfire', () => {
9090
});
9191

9292
if (typeof window !== 'undefined') {
93-
9493
it('should have the provided name', () => {
9594
expect(app.name).toBe(appName);
9695
});
97-
98-
it('should use an already intialized firebase app if it exists', done => {
99-
@NgModule({
100-
imports: [
101-
AngularFireModule.initializeApp(COMMON_CONFIG, appName),
102-
BrowserModule
103-
]
104-
})
105-
class MyModule implements DoBootstrap {
106-
// eslint-disable-next-line @angular-eslint/no-empty-lifecycle-method,@typescript-eslint/no-empty-function
107-
ngDoBootstrap() {
108-
}
109-
}
110-
111-
const compilerFactory: CompilerFactory =
112-
defaultPlatform.injector.get(CompilerFactory, null);
113-
const moduleFactory = compilerFactory.createCompiler().compileModuleSync(MyModule);
114-
115-
defaultPlatform.bootstrapModuleFactory(moduleFactory)
116-
.then(moduleRef => {
117-
const ref = moduleRef.injector.get(FirebaseApp);
118-
expect(ref.name).toEqual(app.name);
119-
}).then(done, e => {
120-
fail(e);
121-
done();
122-
});
123-
});
124-
12596
}
12697
});
12798
});

0 commit comments

Comments
 (0)