File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -420,6 +420,19 @@ describe("inputs2Parameters", () => {
420420 expect ( test ) . to . not . haveOwnProperty ( "sourceVersion" ) ;
421421 } ) ;
422422
423+ it ( "can process source-type-override and source-location-override" , ( ) => {
424+ const test = inputs2Parameters ( {
425+ projectName,
426+ sourceVersion : sha ,
427+ owner : "owner" ,
428+ repo : "repo" ,
429+ sourceTypeOverride : "S3" ,
430+ sourceLocationOverride : "bucket-name/object-name" ,
431+ } ) ;
432+ expect ( test ) . to . haveOwnProperty ( "sourceTypeOverride" ) . and . to . equal ( "S3" ) ;
433+ expect ( test ) . to . haveOwnProperty ( "sourceLocationOverride" ) . and . to . equal ( "bucket-name/object-name" ) ;
434+ } ) ;
435+
423436 it ( "can process disable-github-env-vars" , ( ) => {
424437 process . env [ `GITHUB_REPOSITORY` ] = repoInfo ;
425438 process . env [ `GITHUB_SHA` ] = sha ;
You can’t perform that action at this time.
0 commit comments