Skip to content

Conversation

ahmedhamouda78
Copy link
Member

Description of changes

This PR adds comprehensive unit tests for the @aws-amplify/rtn-web-browser package to achieve 100% test coverage.

Issue #, if available

N/A

Description of how you validated changes

  • Verified all tests pass with yarn test

Checklist

  • PR description included
  • yarn test passes
  • Unit Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)

Checklist for repo maintainers

  • Verify E2E tests for existing workflows are working as expected or add E2E tests for newly added workflows
  • New source file paths included in this PR have been added to CODEOWNERS, if appropriate

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

soberm
soberm previously approved these changes Sep 3, 2025
expect.any(Function),
);
expect(result).toBeNull();
}, 10000);
Copy link
Member

Choose a reason for hiding this comment

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

these timeouts seem rather high.

do you know what part is taking so much time that an increase in timeout is required?
maybe this can be resolved with mocking dependencies.

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.

3 participants