@@ -83,6 +83,9 @@ describe("githubInputs", () => {
8383 . to . haveOwnProperty ( "environmentTypeOverride" )
8484 . and . to . equal ( undefined ) ;
8585 expect ( test ) . to . haveOwnProperty ( "imageOverride" ) . and . to . equal ( undefined ) ;
86+ expect ( test )
87+ . to . haveOwnProperty ( "imagePullCredentialsTypeOverride" )
88+ . and . to . equal ( undefined ) ;
8689 expect ( test ) . to . haveOwnProperty ( "envPassthrough" ) . and . to . deep . equal ( [ ] ) ;
8790 expect ( test ) . to . haveOwnProperty ( "hideCloudWatchLogs" ) . and . to . equal ( false ) ;
8891 expect ( test ) . to . haveOwnProperty ( "disableGithubEnvVars" ) . and . to . equal ( false ) ;
@@ -156,6 +159,9 @@ describe("githubInputs", () => {
156159 . to . haveOwnProperty ( "environmentTypeOverride" )
157160 . and . to . equal ( undefined ) ;
158161 expect ( test ) . to . haveOwnProperty ( "imageOverride" ) . and . to . equal ( undefined ) ;
162+ expect ( test )
163+ . to . haveOwnProperty ( "imagePullCredentialsTypeOverride" )
164+ . and . to . equal ( undefined ) ;
159165 expect ( test ) . to . haveOwnProperty ( "envPassthrough" ) . and . to . deep . equal ( [ ] ) ;
160166 } ) ;
161167
@@ -248,6 +254,9 @@ describe("inputs2Parameters", () => {
248254 . to . haveOwnProperty ( "environmentTypeOverride" )
249255 . and . to . equal ( undefined ) ;
250256 expect ( test ) . to . haveOwnProperty ( "imageOverride" ) . and . to . equal ( undefined ) ;
257+ expect ( test )
258+ . to . haveOwnProperty ( "imagePullCredentialsTypeOverride" )
259+ . and . to . equal ( undefined ) ;
251260
252261 // I send everything that starts 'GITHUB_'
253262 expect ( test )
@@ -286,6 +295,7 @@ describe("inputs2Parameters", () => {
286295 environmentTypeOverride : "LINUX_CONTAINER" ,
287296 imageOverride :
288297 "111122223333.dkr.ecr.us-west-2.amazonaws.com/codebuild-docker-repo" ,
298+ imagePullCredentialsTypeOverride : "CODEBUILD" ,
289299 } ) ;
290300 expect ( test ) . to . haveOwnProperty ( "projectName" ) . and . to . equal ( projectName ) ;
291301 expect ( test ) . to . haveOwnProperty ( "sourceVersion" ) . and . to . equal ( sha ) ;
@@ -309,6 +319,9 @@ describe("inputs2Parameters", () => {
309319 . and . to . equal (
310320 `111122223333.dkr.ecr.us-west-2.amazonaws.com/codebuild-docker-repo`
311321 ) ;
322+ expect ( test )
323+ . to . haveOwnProperty ( "imagePullCredentialsTypeOverride" )
324+ . and . to . equal ( `CODEBUILD` ) ;
312325
313326 // I send everything that starts 'GITHUB_'
314327 expect ( test )
0 commit comments