Updates JS SDK to 2.1.0 (#5043)

This commit is contained in:
Florent Vilmart
2018-09-08 20:05:32 -04:00
committed by GitHub
parent a3d6d2498c
commit 576779b69b
9 changed files with 2570 additions and 2581 deletions

View File

@@ -1225,10 +1225,10 @@ describe('Parse.User testing', () => {
});
it('user authData should be available in cloudcode (#2342)', async done => {
Parse.Cloud.define('checkLogin', (req, res) => {
Parse.Cloud.define('checkLogin', req => {
expect(req.user).not.toBeUndefined();
expect(Parse.FacebookUtils.isLinked(req.user)).toBe(true);
res.success();
return 'ok';
});
const provider = getMockFacebookProvider();