jest-react-hooks-shallow
jest-react-hooks-shallow copied to clipboard
Bringing React Hooks to shallow rendering
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9. Changelog Sourced from hosted-git-info's changelog. 2.8.9 (2021-04-07) Bug Fixes backport regex fix from #76 (29adfe5), closes #84 Commits 8d4b369 chore(release): 2.8.9 29adfe5 fix: backport...
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. Changelog Sourced from y18n's changelog. Change Log All notable changes to this project will be documented in this file. See standard-version for commit guidelines....
i'm guessing you don't want to tie this library to enzyme, but if you did, you could spy on mount and basically change it to ``` withoutHooks(() => { originalMount(...)...
Add tests for a component using props, and ref type dependencies.
From what I gather (still processing, apologizes if my understanding is incorrect) this seems to be a stop-gap measure until React supports Enzyme with some sort of event regarding effect...
I am using `useEffect` in my test component. ```js const Cmp = () => { React.useEffect(() => { console.log(1); return () => console.log(2); }, []); return Test; }; ``` And...
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. Release notes Sourced from json5's releases. v1.0.2 Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a...
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. Release notes Sourced from json5's releases. v1.0.2 Fix: Properties with the name __proto__ are added to objects and arrays. (#199) This also fixes a...
Bumps [json5](https://github.com/json5/json5) to 2.2.3 and updates ancestor dependencies [json5](https://github.com/json5/json5), [json5](https://github.com/json5/json5) and [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin). These dependencies need to be updated together. Updates `json5` from 2.1.1 to 2.2.3 Release notes Sourced from json5's...
Bumps [json5](https://github.com/json5/json5) to 2.2.3 and updates ancestor dependencies [json5](https://github.com/json5/json5), [json5](https://github.com/json5/json5), [json5](https://github.com/json5/json5) and [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin). These dependencies need to be updated together. Updates `json5` from 2.1.1 to 2.2.3 Release notes Sourced from...