File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
tests/integration/helpers Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -9,19 +9,14 @@ export type DeploymentDetails = {
99export function getDeploymentDetails ( ) : DeploymentDetails {
1010 const region = process . env . AWS_REGION ?? "eu-west-2" ;
1111 const environment = process . env . ENVIRONMENT ;
12- const project = process . env . PROJECT ;
13- const component = process . env . COMPONENT ;
12+ const project = process . env . PROJECT ?? "nhs" ;
13+ const component = process . env . COMPONENT ?? "callbacks" ;
1414 const accountId = process . env . AWS_ACCOUNT_ID ;
1515
1616 if ( ! environment ) {
1717 throw new Error ( "ENVIRONMENT environment variable must be set" ) ;
1818 }
19- if ( ! project ) {
20- throw new Error ( "PROJECT environment variable must be set" ) ;
21- }
22- if ( ! component ) {
23- throw new Error ( "COMPONENT environment variable must be set" ) ;
24- }
19+
2520 if ( ! accountId ) {
2621 throw new Error ( "AWS_ACCOUNT_ID environment variable must be set" ) ;
2722 }
You can’t perform that action at this time.
0 commit comments