Skip to content

Commit 0848bf4

Browse files
committed
Nit change
1 parent f04f51f commit 0848bf4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/__tests__/ParseUser-test.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -397,10 +397,8 @@ describe('ParseUser', () => {
397397

398398
deauthenticate() {}
399399
};
400-
401-
ParseUser.logInWith(provider, {}).then(() => {
402400

403-
}, (error) => {
401+
ParseUser.logInWith(provider, {}).then((null, (error) => {
404402
expect(error.code).toBe(ParseError.ACCOUNT_ALREADY_LINKED);
405403
expect(error.message).toBe('Another user is already linked to this facebook id.');
406404
done();

0 commit comments

Comments
 (0)