@@ -102,7 +102,7 @@ describe("githubInputs", () => {
102102 process . env [ `GITHUB_REPOSITORY` ] = repoInfo ;
103103 process . env [ `GITHUB_SHA` ] = sha ;
104104
105- process . env [ `INPUT_ENV-VARS-FOR-CODEBUILD` ] = `one, two
105+ process . env [ `INPUT_ENV-VARS-FOR-CODEBUILD` ] = `one, two
106106 , three,
107107 four ` ;
108108
@@ -296,6 +296,7 @@ describe("inputs2Parameters", () => {
296296 imageOverride :
297297 "111122223333.dkr.ecr.us-west-2.amazonaws.com/codebuild-docker-repo" ,
298298 imagePullCredentialsTypeOverride : "CODEBUILD" ,
299+ artifactsTypeOverride : "NO_ARTIFACTS" ,
299300 } ) ;
300301 expect ( test ) . to . haveOwnProperty ( "projectName" ) . and . to . equal ( projectName ) ;
301302 expect ( test ) . to . haveOwnProperty ( "sourceVersion" ) . and . to . equal ( sha ) ;
@@ -305,6 +306,10 @@ describe("inputs2Parameters", () => {
305306 expect ( test )
306307 . to . haveOwnProperty ( "sourceLocationOverride" )
307308 . and . to . equal ( `https://github.com/owner/repo.git` ) ;
309+ expect ( test )
310+ . to . haveOwnProperty ( "artifactsOverride" )
311+ . that . has . property ( "type" )
312+ . that . equals ( "NO_ARTIFACTS" ) ;
308313 expect ( test )
309314 . to . haveOwnProperty ( "buildspecOverride" )
310315 . and . to . equal ( undefined ) ;
@@ -352,7 +357,7 @@ describe("inputs2Parameters", () => {
352357 process . env [ `GITHUB_REPOSITORY` ] = repoInfo ;
353358 process . env [ `GITHUB_SHA` ] = sha ;
354359
355- process . env [ `INPUT_ENV-VARS-FOR-CODEBUILD` ] = `one, two
360+ process . env [ `INPUT_ENV-VARS-FOR-CODEBUILD` ] = `one, two
356361 , three,
357362 four ` ;
358363
0 commit comments