[tests] removed misc logging
This commit is contained in:
parent
267f908c62
commit
9b5e361d95
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue