-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Description:
packages/react-styled has no test script and no tests. The package currently exposes one component: StorachaAuth (and its subcomponents: Form, EmailInput, CancelButton, Submitted, Ensurer). Tests should cover the styled StorachaAuth: that it renders without error, that the form and Ensurer render with the expected labels/placeholders, and that exports work when used with Provider from the headless package.
Expected outcome:
- A
testscript inpackages/react-styled/package.json(e.g.vitest run), plus vitest and testing-library as devDependencies if not already present. - A test file (e.g.
packages/react-styled/test/StorachaAuth.spec.tsx) with at least: rendering StorachaAuth.Form and StorachaAuth.Ensurer (with Provider from headless), and asserting on visible text (e.g. "Email", "Authorize", "Verify your email").
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels