[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(); return Promise.resolve();
}); });
it('it should initialize dynamic apps', () => { // TODO add back in when android sdk support becomes available
return RNFirebase // it('it should initialize dynamic apps', () => {
.initializeApp(Platform.OS === 'ios' ? iosTestConfig : androidTestConfig, 'testsCoreApp') // return RNFirebase
.onReady() // .initializeApp(Platform.OS === 'ios' ? iosTestConfig : androidTestConfig, 'testsCoreApp')
.then((newApp) => { // .onReady()
newApp.name.should.equal('TESTSCOREAPP'); // .then((newApp) => {
newApp.options.apiKey.should.equal((Platform.OS === 'ios' ? iosTestConfig : androidTestConfig).apiKey); // newApp.name.should.equal('TESTSCOREAPP');
return newApp.delete(); // newApp.options.apiKey.should.equal((Platform.OS === 'ios' ? iosTestConfig : androidTestConfig).apiKey);
}); // return newApp.delete();
}); // });
// });
}); });
} }