{"agent":"claude","input":"Add snapshot tests to the Vitest suite in apps/react-vite of this React app. Read vite.config.ts, src/testing/setup-tests.ts, src/testing/test-utils.tsx, every existing test under src, every component and story under src/components/ui, and .github/workflows/react-vite-ci.yml first. Write tests for the ui components that have a story but no test: button (every variant and size, plus isLoading and icon, as inline snapshots of className), spinner (every size and variant), link (inside a memory router), table (two rows, file snapshot) and md-preview (a markdown fixture with a heading, a link and a script tag, snapshot of the sanitized HTML). Do not snapshot the Radix components; say why. Put each test in the component's __tests__ directory using rtlRender. Run yarn test to write the snapshots, commit the .snap files, run CI=true yarn vitest run, then change one class in button.tsx to show the diff and revert it. Run yarn lint and yarn check-types. Open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}