[tests] remove delete() app test - android not supported

This commit is contained in:
Salakar 2017-10-03 14:17:36 +01:00
parent c06fbf115a
commit 0470f4f4fc
1 changed files with 11 additions and 10 deletions

View File

@ -58,16 +58,17 @@ function coreTests({ describe, it }) {
return Promise.resolve();
});
it('it should initialize dynamic apps', () => {
return RNFirebase
.initializeApp(Platform.OS === 'ios' ? iosTestConfig : androidTestConfig, 'testsCoreApp')
.onReady()
.then((newApp) => {
newApp.name.should.equal('TESTSCOREAPP');
newApp.options.apiKey.should.equal((Platform.OS === 'ios' ? iosTestConfig : androidTestConfig).apiKey);
return newApp.delete();
});
});
// TODO add back in when android sdk support becomes available
// it('it should initialize dynamic apps', () => {
// return RNFirebase
// .initializeApp(Platform.OS === 'ios' ? iosTestConfig : androidTestConfig, 'testsCoreApp')
// .onReady()
// .then((newApp) => {
// newApp.name.should.equal('TESTSCOREAPP');
// newApp.options.apiKey.should.equal((Platform.OS === 'ios' ? iosTestConfig : androidTestConfig).apiKey);
// return newApp.delete();
// });
// });
});
}