[tests] removed misc logging

This commit is contained in:
Salakar 2017-07-18 06:05:00 +01:00
parent 267f908c62
commit 9b5e361d95
2 changed files with 2 additions and 4 deletions

View File

@ -150,7 +150,6 @@ function authTests({ tryCatch, describe, it, firebase }) {
};
const failureCb = (error) => {
console.log('ERROR', error)
error.code.should.equal('auth/wrong-password');
error.message.should.equal('The password is invalid or the user does not have a password.');
return Promise.resolve();

View File

@ -52,7 +52,6 @@ function messagingTests({ describe, it, firebase }) {
it('it should return fcm token from getToken', () => {
const successCb = (token) => {
console.log(token);
token.should.be.a.String();
return Promise.resolve();
};
@ -113,14 +112,14 @@ function messagingTests({ describe, it, firebase }) {
return Promise.resolve();
});
it('it should create/remove onTokenRefresh listeners', () => {
it('it should create/remove onTokenRefresh listeners', () => {
try {
const unsub = firebase.native.messaging().onTokenRefresh(() => {});
unsub();
} catch (e) {
return Promise.reject(e);
}
return Promise.resolve();
});