{"agent":"claude","input":"Migrate this repository's Enzyme tests to React Testing Library. Read package.json, the lockfile and every test file first, and report: the locked React version, the Jest and jsdom versions the test script runs on, each Enzyme API in use (shallow, mount, find, simulate, setState, instance and so on) with its count, and any test that makes a real network request. Pick the @testing-library/react major that supports the locked React and say why; add @testing-library/jest-dom. Before rewriting, write one throwaway test that calls waitFor and run it; if it fails because the environment has no MutationObserver, stop adding async queries and tell me what has to be upgraded, and do not add a polyfill. If npm reports ERESOLVE, find the package responsible and whether anything imports it. Rewrite each Enzyme test to query by role or text the way a user would, and fix test data that makes that impossible instead of selecting by class name. Read each component a test renders and drop props the component never reads. Mock the HTTP client so no test touches the network, and cover the loading, success, error and dismiss paths of the top-level component. Keep a snapshot only where it protects markup that matters; convert those to asFragment. Remove enzyme, its adapter and react-test-renderer once nothing imports them. Run the suite before and after and open a pull request with both summaries, the list of tests removed, rewritten and added, and anything you could not migrate.","resources":[{"url":"https://github.com/your-org/your-app"}]}