@sveltesentio/testing
v0.4.2
Published
Test helpers: deterministic testClock, a11y lane harness, Superforms + TanStack Query fixtures
Maintainers
Readme
@sveltesentio/testing
Test helpers for the sveltesentio framework. Pre-alpha (v0.1.0).
Sub-exports
@sveltesentio/testing/clock—testClock({ now })deterministic clock compatible with@sveltesentio/core/clockClockinterface. See ADR-0052.@sveltesentio/testing/a11y— vitest-axe preset surface (WCAG 2.2 AA tags, impact filtering,assertNoViolations). See ADR-0031.@sveltesentio/testing/playwright-axe—@axe-core/playwrightfixture preset. See ADR-0031.@sveltesentio/testing/fixtures— RFC 9457ProblemErrorbuilders (validationProblem,authProblem,notFoundProblem, ...) for Superforms + API error round-trips.@sveltesentio/testing/locale-parity— in-memory message catalog parity checkers and assertions (compareLocales,assertLocaleParity,keySet,findEmptyValues,placeholders).
Status
clock— shipped.a11y— shipped.playwright-axe— shipped.fixtures— shipped.locale-parity— shipped.- TanStack Query SSR hydration assertions — pending.
License
EUPL-1.2 © lusoris. Releases up to and including 0.1.0 are MIT.
