Skip to content

chore(web): cleanup web/src/app/browser/src/test-index.ts exports 🍒#16038

Draft
mcdurdin wants to merge 2 commits into
chore/web-core-preflight-replay-15888-kbdDetailsfrom
chore/web-core-preflight-replay-15899-15894_test-index
Draft

chore(web): cleanup web/src/app/browser/src/test-index.ts exports 🍒#16038
mcdurdin wants to merge 2 commits into
chore/web-core-preflight-replay-15888-kbdDetailsfrom
chore/web-core-preflight-replay-15899-15894_test-index

Conversation

@mcdurdin
Copy link
Copy Markdown
Member

Replay onto chore/web-core-preflight for merge to alpha.

Cherry-pick-of: #15899
Test-bot: skip

The export of `test-index.ts` were intended to be used by tests only,
but over time they contained also exports that were consumed else where,
e.g. in UI classes like `kmwuibutton.ts`. This change removes unused
exports, moves test-only classes to a `unitTestEndPoints` container and
marks test-only types with `@internal`.

Build-bot: skip build:web
Test-bot: skip
The convention is to use the `.d.ts` extension for typescript types, and
that's what is used elsewhere in the `package.json` file. This change
fixes the two instances that had `.d.js`.
@keymanapp-test-bot
Copy link
Copy Markdown

User Test Results

Test specification and instructions

User tests are not required

@keymanapp-test-bot keymanapp-test-bot Bot added this to the A19S30 milestone May 29, 2026
@github-actions github-actions Bot added web/ cherry-pick Change already merged into another (stable) branch chore labels May 29, 2026
Copy link
Copy Markdown
Contributor

@ermshiperete ermshiperete left a comment

Choose a reason for hiding this comment

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

RSLGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-pick Change already merged into another (stable) branch chore web/

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants