mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-18 12:12:23 +08:00
[tests][invites] update error code
This commit is contained in:
@@ -114,7 +114,7 @@ describe('invites()', () => {
|
||||
await sendInvitation;
|
||||
} catch (error) {
|
||||
if (device.getPlatform() === 'android') {
|
||||
error.code.should.equal('invites/invitation-cancelled');
|
||||
error.code.should.equal('invites/invitation-error');
|
||||
} else {
|
||||
error.code.should.equal('invites/invitation-error');
|
||||
error.message.should.containEql('User must be signed in with GoogleSignIn');
|
||||
|
||||
Reference in New Issue
Block a user