@@ -3926,7 +3926,7 @@ describe('Cloud Config hooks', () => {
3926
3926
return Parse . Config . save ( { internal : 'i' , string : 's' , number : 12 } , { internal : true } ) ;
3927
3927
}
3928
3928
3929
- it ( 'beforeSave(Parse.Config) can run hook with new config' , async ( ) => {
3929
+ it_id ( '997fe20a-96f7-454a-a5b0-c155b8d02f05' ) ( it ) ( 'beforeSave(Parse.Config) can run hook with new config' , async ( ) => {
3930
3930
let count = 0 ;
3931
3931
Parse . Cloud . beforeSave ( Parse . Config , ( req ) => {
3932
3932
expect ( req . object ) . toBeDefined ( ) ;
@@ -3950,7 +3950,7 @@ describe('Cloud Config hooks', () => {
3950
3950
expect ( count ) . toBe ( 1 ) ;
3951
3951
} ) ;
3952
3952
3953
- it ( 'beforeSave(Parse.Config) can run hook with existing config' , async ( ) => {
3953
+ it_id ( '06a9b66c-ffb4-43d1-a025-f7d2192500e7' ) ( it ) ( 'beforeSave(Parse.Config) can run hook with existing config' , async ( ) => {
3954
3954
let count = 0 ;
3955
3955
Parse . Cloud . beforeSave ( Parse . Config , ( req ) => {
3956
3956
if ( count === 0 ) {
@@ -3968,7 +3968,7 @@ describe('Cloud Config hooks', () => {
3968
3968
expect ( count ) . toBe ( 2 ) ;
3969
3969
} ) ;
3970
3970
3971
- it ( 'beforeSave(Parse.Config) should not change config if nothing is returned' , async ( ) => {
3971
+ it_id ( 'ca76de8e-671b-4c2d-9535-bd28a855fa1a' ) ( it ) ( 'beforeSave(Parse.Config) should not change config if nothing is returned' , async ( ) => {
3972
3972
let count = 0 ;
3973
3973
Parse . Cloud . beforeSave ( Parse . Config , ( ) => {
3974
3974
count += 1 ;
@@ -4021,7 +4021,7 @@ describe('Cloud Config hooks', () => {
4021
4021
}
4022
4022
} ) ;
4023
4023
4024
- it ( 'afterSave(Parse.Config) can run hook with new config' , async ( ) => {
4024
+ it_id ( '3e7a75c0-6c2e-4c7e-b042-6eb5f23acf94' ) ( it ) ( 'afterSave(Parse.Config) can run hook with new config' , async ( ) => {
4025
4025
let count = 0 ;
4026
4026
Parse . Cloud . afterSave ( Parse . Config , ( req ) => {
4027
4027
expect ( req . object ) . toBeDefined ( ) ;
@@ -4045,7 +4045,7 @@ describe('Cloud Config hooks', () => {
4045
4045
expect ( count ) . toBe ( 1 ) ;
4046
4046
} ) ;
4047
4047
4048
- it ( 'afterSave(Parse.Config) can run hook with existing config' , async ( ) => {
4048
+ it_id ( '5cffb28a-2924-4857-84bb-f5778d80372a' ) ( it ) ( 'afterSave(Parse.Config) can run hook with existing config' , async ( ) => {
4049
4049
let count = 0 ;
4050
4050
Parse . Cloud . afterSave ( Parse . Config , ( req ) => {
4051
4051
if ( count === 0 ) {
@@ -4063,7 +4063,7 @@ describe('Cloud Config hooks', () => {
4063
4063
expect ( count ) . toBe ( 2 ) ;
4064
4064
} ) ;
4065
4065
4066
- it ( 'afterSave(Parse.Config) should throw error' , async ( ) => {
4066
+ it_id ( '49883992-ce91-4797-85f9-7cce1f819407' ) ( it ) ( 'afterSave(Parse.Config) should throw error' , async ( ) => {
4067
4067
Parse . Cloud . afterSave ( Parse . Config , ( ) => {
4068
4068
throw new Parse . Error ( 400 , 'It should fail' ) ;
4069
4069
} ) ;
0 commit comments