@@ -925,7 +925,7 @@ describe('modules/platform/azure/index', () => {
925925 prTitle : 'The Title' ,
926926 prBody : 'Hello world' ,
927927 labels : [ 'deps' , 'renovate' ] ,
928- platformOptions : { usePlatformAutomerge : true } ,
928+ platformPrOptions : { usePlatformAutomerge : true } ,
929929 } ) ;
930930 expect ( updateFn ) . toHaveBeenCalled ( ) ;
931931 expect ( pr ) . toMatchSnapshot ( ) ;
@@ -996,7 +996,7 @@ describe('modules/platform/azure/index', () => {
996996 prTitle : 'The Title' ,
997997 prBody : 'Hello world' ,
998998 labels : [ 'deps' , 'renovate' ] ,
999- platformOptions : {
999+ platformPrOptions : {
10001000 automergeStrategy : 'auto' ,
10011001 usePlatformAutomerge : true ,
10021002 } ,
@@ -1008,7 +1008,7 @@ describe('modules/platform/azure/index', () => {
10081008 prTitle : 'The Second Title' ,
10091009 prBody : 'Hello world' ,
10101010 labels : [ 'deps' , 'renovate' ] ,
1011- platformOptions : {
1011+ platformPrOptions : {
10121012 automergeStrategy : 'auto' ,
10131013 usePlatformAutomerge : true ,
10141014 } ,
@@ -1061,7 +1061,7 @@ describe('modules/platform/azure/index', () => {
10611061 prTitle : 'The Title' ,
10621062 prBody : 'Hello world' ,
10631063 labels : [ 'deps' , 'renovate' ] ,
1064- platformOptions : {
1064+ platformPrOptions : {
10651065 automergeStrategy,
10661066 usePlatformAutomerge : true ,
10671067 } ,
@@ -1113,7 +1113,7 @@ describe('modules/platform/azure/index', () => {
11131113 prTitle : 'The Title' ,
11141114 prBody : 'Hello world' ,
11151115 labels : [ 'deps' , 'renovate' ] ,
1116- platformOptions : {
1116+ platformPrOptions : {
11171117 automergeStrategy,
11181118 usePlatformAutomerge : true ,
11191119 } ,
@@ -1163,14 +1163,14 @@ describe('modules/platform/azure/index', () => {
11631163 prTitle : 'The Title' ,
11641164 prBody : 'Hello world' ,
11651165 labels : [ 'deps' , 'renovate' ] ,
1166- platformOptions : { autoApprove : true } ,
1166+ platformPrOptions : { autoApprove : true } ,
11671167 } ) ;
11681168 expect ( updateFn ) . toHaveBeenCalled ( ) ;
11691169 expect ( pr ) . toMatchSnapshot ( ) ;
11701170 } ) ;
11711171 } ) ;
11721172
1173- describe ( 'updatePr(prNo, title, body, platformOptions )' , ( ) => {
1173+ describe ( 'updatePr(prNo, title, body, platformPrOptions )' , ( ) => {
11741174 it ( 'should update the PR' , async ( ) => {
11751175 await initRepo ( { repository : 'some/repo' } ) ;
11761176 const updatePullRequest = jest . fn ( ) ;
@@ -1272,7 +1272,7 @@ describe('modules/platform/azure/index', () => {
12721272 number : prResult . pullRequestId ,
12731273 prTitle : 'The Title' ,
12741274 prBody : 'Hello world' ,
1275- platformOptions : { autoApprove : true } ,
1275+ platformPrOptions : { autoApprove : true } ,
12761276 } ) ;
12771277 expect ( updateFn ) . toHaveBeenCalled ( ) ;
12781278 expect ( pr ) . toMatchSnapshot ( ) ;
0 commit comments