Skip to content

CCM-13382: Add Automation Tests#578

Open
Namitha-Prabhu wants to merge 32 commits into
mainfrom
feature/CCM-13382-AddTests
Open

CCM-13382: Add Automation Tests#578
Namitha-Prabhu wants to merge 32 commits into
mainfrom
feature/CCM-13382-AddTests

Conversation

@Namitha-Prabhu
Copy link
Copy Markdown
Contributor

Description

Context

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

DT3-Specific Checklist

  • If I have added a new resource (SQS, Lambda, Gateway, DDB table, etc), I have created the appropriate alarms

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@Namitha-Prabhu Namitha-Prabhu requested a review from a team as a code owner May 14, 2026 12:01
Comment thread tests/helpers/allocation-helper.ts Outdated
}

export async function getVolumeGroupData(volumeGroupId: string): Promise<{
originalStartDate: string;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this should be called getVolumeGroupDates if you're just returning the start and end date, or return all the volumeGroup record and use the dates in the calling code.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

}

export async function updateLetterVariantConfig(
letterVariantId: string,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be called updateLetterVariantConfigPackSpecifications as that is the only field it updates.
if we have another one in the future to update volume group on the letter variant this would avoid confusion

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

Copy link
Copy Markdown
Contributor

@nhsd-david-wass nhsd-david-wass left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - just a couple of comment around method naming

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 4, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants