Closed uruha closed 4 years ago
@see https://github.com/uruha/next-with-ts/blob/af76ea71b8aeb5d3d970834e57f065a382cf71d6/src/components/Layout/__test__/Layout.test.tsx#L10
@see
We do test for react component that require <Provider />, must need testing wrapper with <Provider />. So, I separated this testing wrapper.
<Provider />
@see
https://github.com/uruha/next-with-ts/blob/af76ea71b8aeb5d3d970834e57f065a382cf71d6/src/components/Layout/__test__/Layout.test.tsx#L10We do test for react component that require
<Provider />
, must need testing wrapper with<Provider />
. So, I separated this testing wrapper.