@@ -3926,7 +3926,7 @@ describe('Cloud Config hooks', () => {
39263926 return Parse . Config . save ( { internal : 'i' , string : 's' , number : 12 } , { internal : true } ) ;
39273927 }
39283928
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 ( ) => {
39303930 let count = 0 ;
39313931 Parse . Cloud . beforeSave ( Parse . Config , ( req ) => {
39323932 expect ( req . object ) . toBeDefined ( ) ;
@@ -3950,7 +3950,7 @@ describe('Cloud Config hooks', () => {
39503950 expect ( count ) . toBe ( 1 ) ;
39513951 } ) ;
39523952
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 ( ) => {
39543954 let count = 0 ;
39553955 Parse . Cloud . beforeSave ( Parse . Config , ( req ) => {
39563956 if ( count === 0 ) {
@@ -3968,7 +3968,7 @@ describe('Cloud Config hooks', () => {
39683968 expect ( count ) . toBe ( 2 ) ;
39693969 } ) ;
39703970
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 ( ) => {
39723972 let count = 0 ;
39733973 Parse . Cloud . beforeSave ( Parse . Config , ( ) => {
39743974 count += 1 ;
@@ -4021,7 +4021,7 @@ describe('Cloud Config hooks', () => {
40214021 }
40224022 } ) ;
40234023
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 ( ) => {
40254025 let count = 0 ;
40264026 Parse . Cloud . afterSave ( Parse . Config , ( req ) => {
40274027 expect ( req . object ) . toBeDefined ( ) ;
@@ -4045,7 +4045,7 @@ describe('Cloud Config hooks', () => {
40454045 expect ( count ) . toBe ( 1 ) ;
40464046 } ) ;
40474047
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 ( ) => {
40494049 let count = 0 ;
40504050 Parse . Cloud . afterSave ( Parse . Config , ( req ) => {
40514051 if ( count === 0 ) {
@@ -4063,7 +4063,7 @@ describe('Cloud Config hooks', () => {
40634063 expect ( count ) . toBe ( 2 ) ;
40644064 } ) ;
40654065
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 ( ) => {
40674067 Parse . Cloud . afterSave ( Parse . Config , ( ) => {
40684068 throw new Parse . Error ( 400 , 'It should fail' ) ;
40694069 } ) ;
0 commit comments