Skip to content

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

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: cloudscape-design/components#5261

How has this been tested?

ESLint and Prettier pass for scripts/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:25
@amanabiy
amanabiy requested review from ernst-dev and removed request for a team November 25, 2026 10:25
@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 93.99%. Comparing base (d4db05d) to head (e909fce).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #289   +/-   ##
=======================================
  Coverage   93.99%   93.99%           
=======================================
  Files          64       64           
  Lines        3529     3529           
  Branches     1131     1051   -80     
=======================================
  Hits         3317     3317           
  Misses        212      212           

☔ 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 requested a review from mxschll November 25, 2026 14:46
@amanabiy
amanabiy added this pull request to the merge queue Nov 25, 2026
Merged via the queue into main with commit 507b14c Nov 25, 2026
47 of 48 checks passed
@amanabiy
amanabiy deleted the fix/test-utils-docs-create-wrapper branch November 25, 2026 15:11

This branch was successfully deployed

1 active deployment
dev-pages — e909fcee Deployed Nov 25, 2026 by amanabiy via deploy / deploy #1390
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