Skip to content

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

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.

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 georgylobko 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
@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 100.00%. Comparing base (b658e0e) to head (e017b64).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #191   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            9         9           
  Lines           81        81           
  Branches        21        21           
=========================================
  Hits            81        81           

☔ 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 enabled auto-merge November 25, 2026 10:28
@amanabiy
amanabiy added this pull request to the merge queue Nov 25, 2026
Merged via the queue into main with commit 263d1cd Nov 25, 2026
48 checks passed
@amanabiy
amanabiy deleted the fix/test-utils-docs-create-wrapper branch November 25, 2026 12:48

This branch was successfully deployed

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