File tree Expand file tree Collapse file tree
apps/sim/lib/core/security Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1311,12 +1311,31 @@ describe('validateAwsRegion', () => {
13111311 expect ( result . isValid ) . toBe ( true )
13121312 } )
13131313
1314+ it . concurrent ( 'should accept us-iso-west-1' , ( ) => {
1315+ const result = validateAwsRegion ( 'us-iso-west-1' )
1316+ expect ( result . isValid ) . toBe ( true )
1317+ } )
1318+
13141319 it . concurrent ( 'should accept us-isob-east-1' , ( ) => {
13151320 const result = validateAwsRegion ( 'us-isob-east-1' )
13161321 expect ( result . isValid ) . toBe ( true )
13171322 } )
13181323 } )
13191324
1325+ describe ( 'valid Mexico regions' , ( ) => {
1326+ it . concurrent ( 'should accept mx-central-1' , ( ) => {
1327+ const result = validateAwsRegion ( 'mx-central-1' )
1328+ expect ( result . isValid ) . toBe ( true )
1329+ } )
1330+ } )
1331+
1332+ describe ( 'valid EU Sovereign Cloud regions' , ( ) => {
1333+ it . concurrent ( 'should accept eu-isoe-west-1' , ( ) => {
1334+ const result = validateAwsRegion ( 'eu-isoe-west-1' )
1335+ expect ( result . isValid ) . toBe ( true )
1336+ } )
1337+ } )
1338+
13201339 describe ( 'invalid regions' , ( ) => {
13211340 it . concurrent ( 'should reject null' , ( ) => {
13221341 const result = validateAwsRegion ( null )
You can’t perform that action at this time.
0 commit comments