Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
liustve committed Nov 18, 2024
1 parent d5077e0 commit be8ba40
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ describe('AwsMetricAttributeGeneratorTest', () => {
// Validate behaviour of AWS_SECRETSMANAGER_SECRET_ARN attributes then remove it.
mockAttribute(
AWS_ATTRIBUTE_KEYS.AWS_SECRETSMANAGER_SECRET_ARN,
'arn:aws:secretsmanager:us-east-1:123456789123:secret:testSecret'
'arn:aws:secretsmanager:us-east-1:123456789123:secret:testSecret'
);
validateRemoteResourceAttributes('AWS::SecretsManager::Secret', 'testSecret');
mockAttribute(AWS_ATTRIBUTE_KEYS.AWS_SECRETSMANAGER_SECRET_ARN, undefined);
Expand All @@ -778,7 +778,7 @@ describe('AwsMetricAttributeGeneratorTest', () => {
mockAttribute(AWS_ATTRIBUTE_KEYS.AWS_LAMBDA_FUNCTION_NAME, 'aws_lambda_function_name');
mockAttribute(
AWS_ATTRIBUTE_KEYS.AWS_LAMBDA_FUNCTION_ARN,
'arn:aws:lambda:us-east-1:123456789012:function:aws_lambda_function_name'
'arn:aws:lambda:us-east-1:123456789012:function:aws_lambda_function_name'
);

validateRemoteResourceAttributes('AWS::Lambda::Function', 'aws_lambda_function_name');
Expand All @@ -792,14 +792,14 @@ describe('AwsMetricAttributeGeneratorTest', () => {
// Validate behaviour of AWS_STEPFUNCTIONS_STATEMACHINE_ARN and AWS_STEPFUNCTIONS_ACTIVITY_ARN attributes then remove them.
mockAttribute(
AWS_ATTRIBUTE_KEYS.AWS_STEPFUNCTIONS_STATEMACHINE_ARN,
'arn:aws:states:us-east-1:007003123456789012:stateMachine:testStateMachine'
'arn:aws:states:us-east-1:007003123456789012:stateMachine:testStateMachine'
);
validateRemoteResourceAttributes('AWS::StepFunctions::StateMachine', 'testStateMachine');
mockAttribute(AWS_ATTRIBUTE_KEYS.AWS_STEPFUNCTIONS_STATEMACHINE_ARN, undefined);

mockAttribute(
AWS_ATTRIBUTE_KEYS.AWS_STEPFUNCTIONS_ACTIVITY_ARN,
'arn:aws:states:us-east-1:007003123456789012:activity:testActivity'
'arn:aws:states:us-east-1:007003123456789012:activity:testActivity'
);
validateRemoteResourceAttributes('AWS::StepFunctions::Activity', 'testActivity');
mockAttribute(AWS_ATTRIBUTE_KEYS.AWS_STEPFUNCTIONS_ACTIVITY_ARN, undefined);
Expand Down

0 comments on commit be8ba40

Please sign in to comment.