File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -40,8 +40,11 @@ describe('End-to-End Tests', () => {
4040 `gcloud builds submit --project ${ GOOGLE_CLOUD_PROJECT } ` +
4141 '--config ../renderer/test/e2e_test_setup.yaml ' +
4242 `--substitutions _SERVICE=renderer-${ SERVICE_NAME } ,_REGION=${ REGION } ` ;
43+
4344 if ( SAMPLE_VERSION ) buildRendererCmd += `,_VERSION=${ SAMPLE_VERSION } ` ;
44- if ( SERVICE_ACCOUNT ) buildRendererCmd += `,_SERVICE_ACCOUNT=${ SERVICE_ACCOUNT } ` ;
45+ if ( SERVICE_ACCOUNT ) {
46+ buildRendererCmd += `,_SERVICE_ACCOUNT=${ SERVICE_ACCOUNT } ` ;
47+ }
4548
4649 console . log ( 'Starting Cloud Build for Renderer service...' ) ;
4750 execSync ( buildRendererCmd , { cwd : '../renderer' } ) ;
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ describe('End-to-End Tests', () => {
3333 const { SERVICE_ACCOUNT } = process . env ;
3434 const REGION = 'us-central1' ;
3535
36-
3736 let BASE_URL ;
3837 before ( async ( ) => {
3938 // Deploy service using Cloud Build
@@ -55,7 +54,6 @@ describe('End-to-End Tests', () => {
5554 ) ;
5655 BASE_URL = url . toString ( 'utf-8' ) . trim ( ) ;
5756 if ( ! BASE_URL ) throw Error ( 'Cloud Run service URL not found' ) ;
58-
5957 } ) ;
6058
6159 after ( ( ) => {
You can’t perform that action at this time.
0 commit comments