We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d952e7 commit 2006ddfCopy full SHA for 2006ddf
spec/CloudCode.spec.js
@@ -3225,10 +3225,10 @@ describe('afterLogin hook', () => {
3225
await query.find({ context: { a: 'a' } });
3226
});
3227
3228
- it('beforeFine and afterFind should have access to context while making fetch call', async () => {
+ it('beforeFind and afterFind should have access to context while making fetch call', async () => {
3229
Parse.Cloud.beforeFind('TestObject', req => {
3230
expect(req.context.a).toEqual('a');
3231
- expect(req.context.b).to.not.exist;
+ expect(req.context.b).toBeUndefined();
3232
req.context.b = 'b';
3233
3234
Parse.Cloud.afterFind('TestObject', req => {
0 commit comments