Testing

Write Vitest unit tests for React components and hooks using the project's `TestApp` wrapper, jsdom environment, and pre-mocked browser APIs (localStorage, matchMedia, scrollTo, IntersectionObserver, ResizeObserver). Also covers the project policy on when to create new test files.

soapbox-pub Updated 77 repo stars

File contents

soapbox-pub/ditto commit 63fd20a2cb

Frequently asked questions

npx get-skill add soapbox-pub/testing