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 00fb3b6 commit 57b3a81Copy full SHA for 57b3a81
spec/CloudCode.spec.js
@@ -1481,7 +1481,8 @@ describe('Cloud Code', () => {
1481
1482
it('beforeSave should not sanitize database', async done => {
1483
const { adapter } = Config.get(Parse.applicationId).database;
1484
- spyOn(adapter, 'findOneAndUpdate').and.callThrough();
+ const spy = spyOn(adapter, 'findOneAndUpdate').and.callThrough();
1485
+ spy.calls.saveArgumentsByValue();
1486
1487
let count = 0;
1488
Parse.Cloud.beforeSave('CloudIncrementNested', req => {
0 commit comments