Skip to content

Commit 15873e9

Browse files
committed
fix tests
1 parent cbb44e8 commit 15873e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/CloudCode.spec.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -3248,7 +3248,7 @@ describe('beforeLogin hook', () => {
32483248
expect(req.headers).toBeDefined();
32493249
expect(req.ip).toBeDefined();
32503250
expect(req.installationId).toBeDefined();
3251-
expect(req.context).toBeUndefined();
3251+
expect(req.context).toBeDefined();
32523252
});
32533253

32543254
await Parse.User.signUp('tupac', 'shakur');
@@ -3365,7 +3365,7 @@ describe('afterLogin hook', () => {
33653365
expect(req.headers).toBeDefined();
33663366
expect(req.ip).toBeDefined();
33673367
expect(req.installationId).toBeDefined();
3368-
expect(req.context).toBeUndefined();
3368+
expect(req.context).toBeDefined();
33693369
});
33703370

33713371
await Parse.User.signUp('testuser', 'p@ssword');

0 commit comments

Comments
 (0)