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 bfdc878 commit 2b7534dCopy full SHA for 2b7534d
spec/CloudCode.spec.js
@@ -1483,9 +1483,6 @@ describe('Cloud Code', () => {
1483
let count = 0;
1484
Parse.Cloud.beforeSave('CloudIncrementNested', () => {
1485
count += 1;
1486
- if (count === 2) {
1487
- done();
1488
- }
1489
});
1490
1491
const obj = new Parse.Object('CloudIncrementNested');
@@ -1494,6 +1491,7 @@ describe('Cloud Code', () => {
1494
1495
1492
obj.increment('objectField.number', 10);
1496
1493
await obj.save();
+ count === 2 ? done() : fail();
1497
1498
1499
/**
0 commit comments