-
Notifications
You must be signed in to change notification settings - Fork 0
Add component smoke tests for public library exports #11
Copy link
Copy link
Open
Labels
area: apiPublic API, props, and exportsPublic API, props, and exportsarea: controlled-stateControlled and uncontrolled component stateControlled and uncontrolled component statearea: inputInput and TextInput behaviorInput and TextInput behaviorarea: multiselectMultiple selection and tag behaviorMultiple selection and tag behaviorarea: testsAutomated test coverage and test configurationAutomated test coverage and test configurationenhancementNew feature or requestNew feature or requestpriority: criticalMust fix before the next releaseMust fix before the next releasetype: testingTest infrastructure and coverage workTest infrastructure and coverage work
Milestone
Description
Metadata
Metadata
Assignees
Labels
area: apiPublic API, props, and exportsPublic API, props, and exportsarea: controlled-stateControlled and uncontrolled component stateControlled and uncontrolled component statearea: inputInput and TextInput behaviorInput and TextInput behaviorarea: multiselectMultiple selection and tag behaviorMultiple selection and tag behaviorarea: testsAutomated test coverage and test configurationAutomated test coverage and test configurationenhancementNew feature or requestNew feature or requestpriority: criticalMust fix before the next releaseMust fix before the next releasetype: testingTest infrastructure and coverage workTest infrastructure and coverage work
Problem
The package exposes
Input,InputSelect, andSelect, but there are no tests proving that the public exports render with minimal supported props or respect basic public contracts.This should be added before fixing the runtime bugs so later changes have a baseline component safety net.
Impact
Without component smoke coverage, a fix can accidentally break public exports, required props, or core render paths while still passing pure utility tests.
Code references
src/index.tsx#L1-L5: public package exports.src/components/Input/Input.tsx#L213-L236:Inputrender path.src/components/Select/Select.tsx#L225-L248:Selectrender path.src/components/InputSelect/InputSelect.tsx#L222-L237:InputSelectrender path.package.json#L106-L111: Jest uses the React Native preset.Acceptance criteria
Input,Select, andInputSelectrender with minimal valid props.src/index.tsxare importable.