Skip to content

Commit

Permalink
merged parse-community#7661 changes (failing CI on 4.x LTS)
Browse files Browse the repository at this point in the history
  • Loading branch information
FransGH committed Oct 29, 2021
1 parent f1238ea commit 52d9927
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 77 deletions.
146 changes: 73 additions & 73 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"form-data": "3.0.0",
"husky": "4.2.5",
"jasmine": "3.5.0",
"jasmine-spec-reporter": "6.0.0",
"jasmine-spec-reporter": "7.0.0",
"jsdoc": "3.6.3",
"jsdoc-babel": "0.5.0",
"lint-staged": "10.2.3",
Expand Down
4 changes: 3 additions & 1 deletion spec/ParseLiveQuery.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -969,8 +969,10 @@ describe('ParseLiveQuery', function () {
await user.save();
user.set('yolo', 'bar');
await user.save();
user.set('foo', 'bar');
await user.save();
await user.destroy();
await new Promise(resolve => process.nextTick(resolve));
await new Promise(resolve => setTimeout(resolve, 500));
for (const key of events) {
expect(calls[key]).toHaveBeenCalled();
}
Expand Down
7 changes: 5 additions & 2 deletions spec/ParseUser.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -4030,14 +4030,17 @@ describe('Parse.User testing', () => {
await user.save();
user.set('yolo', 'bar');
await user.save();
user.unset('foo');
await user.save();
await user.destroy();
await new Promise(resolve => process.nextTick(resolve));
await new Promise(resolve => setTimeout(resolve, 500));
for (const key of events) {
expect(calls[key]).toHaveBeenCalled();
}
subscription.unsubscribe();
const client = await Parse.CoreManager.getLiveQueryController().getDefaultLiveQueryClient();
client.close();
await new Promise(resolve => process.nextTick(resolve));
await new Promise(resolve => setTimeout(resolve, 500));
});
});

Expand Down

0 comments on commit 52d9927

Please sign in to comment.