We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f04f51f commit 69bcda9Copy full SHA for 69bcda9
src/__tests__/ParseUser-test.js
@@ -397,10 +397,8 @@ describe('ParseUser', () => {
397
398
deauthenticate() {}
399
};
400
-
401
- ParseUser.logInWith(provider, {}).then(() => {
402
403
- }, (error) => {
+ ParseUser.logInWith(provider, {}).then(null, (error) => {
404
expect(error.code).toBe(ParseError.ACCOUNT_ALREADY_LINKED);
405
expect(error.message).toBe('Another user is already linked to this facebook id.');
406
done();
0 commit comments