Tags: swyxio/react-testing-library
Tags
fix: move testHook to its own pacakge (testing-library#307) This removes testHook in favor of http://npm.im/react-hook-testing-library Closes testing-library#302 BREAKING CHANGE: move testHook to another library. Use http://npm.im/react-hook-testing-library instead
feat(render): add wrapper component option (testing-library#303) * feat(render): add wrapper component option * feat(render): update types * fix(types): remove unreferenced type * fix(render): optional type for wrapper option
feat: testHook returns result ref object (testing-library#297)
feat: wrapper for testHook (testing-library#296) * feat: wrapper for testHook * Ignore eslint rule
fix(TS): typing of testHook (testing-library#292) * Adds typing for testHook return * Adds typings section to contributing.md
feat(testHook): modify testHook to return unmount function (testing-l… …ibrary#290) * Returns unmount function on testHook * Adds test for unmount function; Adds example of useEffect * Add Andrewmat as contributor * Adds rerender on testHook return
fix: act polyfill for React 15.x (testing-library#288) Fixes testing-library#287
fix: declare "module" field in package.json (testing-library#282) **What**: This change exposes the ESM version of the build, in the same fashion that the ES modules build is declared in `dom-testing-library`. **Why**: The ESM build is currently generated and distributed upon publish, though it is not exposed via `package.json`. My admittedly selfish use case for this is in having better heuristics around some linting rules (namely `import/named`). **How**: • Added the `module` field to `package.json`, pointing it at the path of the built artifact **Checklist**: - [ ] Documentation (N/A) - [ ] Tests (N/A) - [x] Ready to be merged - [x] Added myself to contributors table **&c.**: Thanks for this library–it's great! Let me know if there's anything I overlooked or you would like to see changed.
PreviousNext