File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -297,12 +297,11 @@ describe('Cloud Code', () => {
297
297
it ( 'should handle null/undefined objectsInput when no trigger' , async ( ) => {
298
298
const className = 'TestNullDirect_' + Date . now ( ) ;
299
299
300
- // Test null
301
300
const resultNull = await maybeRunAfterFindTrigger (
302
301
'afterFind' ,
303
302
null ,
304
303
className ,
305
- null , // null objectsInput
304
+ null ,
306
305
testConfig ,
307
306
null ,
308
307
{ }
@@ -324,7 +323,7 @@ describe('Cloud Code', () => {
324
323
'afterFind' ,
325
324
null ,
326
325
className ,
327
- [ ] , // empty array
326
+ [ ] ,
328
327
testConfig ,
329
328
null ,
330
329
{ }
@@ -393,7 +392,6 @@ describe('Cloud Code', () => {
393
392
394
393
const mockObject = { id : 'test789' , className : className , name : 'test' } ;
395
394
396
- // Test avec string (invalide)
397
395
await maybeRunAfterFindTrigger (
398
396
'afterFind' ,
399
397
null ,
@@ -407,7 +405,6 @@ describe('Cloud Code', () => {
407
405
expect ( receivedQuery ) . toBeInstanceOf ( Parse . Query ) ;
408
406
expect ( receivedQuery . className ) . toBe ( className ) ;
409
407
410
- // Reset pour test suivant
411
408
receivedQuery = null ;
412
409
413
410
await maybeRunAfterFindTrigger (
You can’t perform that action at this time.
0 commit comments