Skip to content

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

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

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

Conversation

@amanabiy

Copy link
Copy Markdown
Member

Description

The docs task 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 has no effect on current main 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

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 ywyyu17 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.76%. Comparing base (e6f31b8) to head (50bac32).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #488   +/-   ##
=======================================
  Coverage   93.76%   93.76%           
=======================================
  Files          59       59           
  Lines        1845     1845           
  Branches      470      470           
=======================================
  Hits         1730     1730           
  Misses        115      115           

☔ 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 26, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 26, 2026
@amanabiy
amanabiy added this pull request to the merge queue Nov 26, 2026
Merged via the queue into main with commit 20c47bb Nov 26, 2026
48 checks passed
@amanabiy
amanabiy deleted the fix/test-utils-docs-create-wrapper branch November 26, 2026 15:47

This branch was successfully deployed

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