Skip to content

feat(cc-digital-channel): add-uts-for-digital-channel#611

Open
akulakum wants to merge 6 commits intowebex:nextfrom
akulakum:DIGITAL_CHANNEL_UTs
Open

feat(cc-digital-channel): add-uts-for-digital-channel#611
akulakum wants to merge 6 commits intowebex:nextfrom
akulakum:DIGITAL_CHANNEL_UTs

Conversation

@akulakum
Copy link
Contributor

@akulakum akulakum commented Feb 4, 2026

COMPLETES #https://jira-eng-sjc12.cisco.com/jira/browse/CAI-7458

This pull request addresses

Adding comprehensive unit tests for the cc-digital-channels package to improve code coverage and test reliability.

by making the following changes

  • Added unit tests for useDigitalChannelsInit and useDigitalChannelsData hooks covering initialization, error handling, and edge cases.
  • Created dedicated DigitalChannelsComponent.test.tsx for presentational component tests (theme rendering, props validation).
  • Added ErrorBoundary integration test for DigitalChannels component
Screenshot 2026-02-05 at 3 44 04 PM

Change Type

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Tooling change
  • Internal code refactor

The following scenarios were tested

  • The testing is done with the amplify link
    < ENUMERATE TESTS PERFORMED, WHETHER MANUAL OR AUTOMATED >

The GAI Coding Policy And Copyright Annotation Best Practices

  • GAI was not used (or, no additional notation is required)
  • Code was generated entirely by GAI
  • GAI was used to create a draft that was subsequently customized or modified
  • Coder created a draft manually that was non-substantively modified by GAI (e.g., refactoring was performed by GAI on manually written code)
  • Tool used for AI assistance (GitHub Copilot / Other - specify)
    • Github Copilot
    • Other - Please Specify
  • This PR is related to
    • Feature
    • Defect fix
    • Tech Debt
    • Automation

Checklist before merging

  • I have not skipped any automated checks
  • All existing and new tests passed
  • I have updated the testing document
  • I have tested the functionality with amplify link

Make sure to have followed the contributing guidelines before submitting.

@akulakum akulakum added the validated Indicates that the PR is ready for actions label Feb 4, 2026
@aws-amplify-us-east-2
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-611.d1b38q61t1z947.amplifyapp.com

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

Labels

validated Indicates that the PR is ready for actions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant