@@ -102,7 +102,7 @@ describe("githubInputs", () => {
102
102
process . env [ `GITHUB_REPOSITORY` ] = repoInfo ;
103
103
process . env [ `GITHUB_SHA` ] = sha ;
104
104
105
- process . env [ `INPUT_ENV-VARS-FOR-CODEBUILD` ] = `one, two
105
+ process . env [ `INPUT_ENV-VARS-FOR-CODEBUILD` ] = `one, two
106
106
, three,
107
107
four ` ;
108
108
@@ -296,6 +296,7 @@ describe("inputs2Parameters", () => {
296
296
imageOverride :
297
297
"111122223333.dkr.ecr.us-west-2.amazonaws.com/codebuild-docker-repo" ,
298
298
imagePullCredentialsTypeOverride : "CODEBUILD" ,
299
+ artifactsTypeOverride : "NO_ARTIFACTS" ,
299
300
} ) ;
300
301
expect ( test ) . to . haveOwnProperty ( "projectName" ) . and . to . equal ( projectName ) ;
301
302
expect ( test ) . to . haveOwnProperty ( "sourceVersion" ) . and . to . equal ( sha ) ;
@@ -305,6 +306,10 @@ describe("inputs2Parameters", () => {
305
306
expect ( test )
306
307
. to . haveOwnProperty ( "sourceLocationOverride" )
307
308
. 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" ) ;
308
313
expect ( test )
309
314
. to . haveOwnProperty ( "buildspecOverride" )
310
315
. and . to . equal ( undefined ) ;
@@ -352,7 +357,7 @@ describe("inputs2Parameters", () => {
352
357
process . env [ `GITHUB_REPOSITORY` ] = repoInfo ;
353
358
process . env [ `GITHUB_SHA` ] = sha ;
354
359
355
- process . env [ `INPUT_ENV-VARS-FOR-CODEBUILD` ] = `one, two
360
+ process . env [ `INPUT_ENV-VARS-FOR-CODEBUILD` ] = `one, two
356
361
, three,
357
362
four ` ;
358
363
0 commit comments