Skip to content

chore: Skip createWrapper export in test-utils docs - #5354

Merged
amanabiy merged 1 commit into
mainfrom
fix/test-utils-docs-create-wrapper
Nov 25, 2026
Merged

amanabiy merged 1 commit into
mainfrom
fix/test-utils-docs-create-wrapper

Conversation

@amanabiy

Copy link
Copy Markdown
Member

Description

The docs step throws when the generated test-utils index exports the new named createWrapper from test-utils #143 because the export is not a class.

This adds createWrapper to both test-utils extraExports lists. The change is a no-op until the new converter is released because the documenter only checks exports that exist.

Related: cloudscape-design/test-utils#143
Related: #5261

How has this been tested?

ESLint and Prettier pass for build-tools/tasks/docs.js.

Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@amanabiy
amanabiy requested a review from a team as a code owner November 25, 2026 10:16
@amanabiy
amanabiy requested review from NathanZlion and removed request for a team November 25, 2026 10:16
@amanabiy amanabiy changed the title fix: Skip createWrapper export in test-utils docs chore: Skip createWrapper export in test-utils docs Nov 25, 2026
@amanabiy
amanabiy enabled auto-merge November 25, 2026 10:28
@codecov

codecov Bot commented Nov 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.87%. Comparing base (2bfb786) to head (34c463a).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5354   +/-   ##
=======================================
  Coverage   97.87%   97.87%           
=======================================
  Files        1018     1018           
  Lines       32941    32941           
  Branches    12221    12220    -1     
=======================================
  Hits        32242    32242           
- Misses        660      693   +33     
+ Partials       39        6   -33     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@amanabiy
amanabiy added this pull request to the merge queue Nov 25, 2026
Merged via the queue into main with commit e37c718 Nov 25, 2026
70 checks passed
@amanabiy
amanabiy deleted the fix/test-utils-docs-create-wrapper branch November 25, 2026 15:14

This branch was successfully deployed

3 active deployments
dev-pages-react18 — 34c463a0 Deployed Nov 25, 2026 by amanabiy via deploy (React 18) / deploy #3482
dev-pages-react16 — 34c463a0 Deployed Nov 25, 2026 by amanabiy via deploy (React 16) / deploy #3482
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