Closed tobilen closed 4 years ago
closes https://github.com/FormidableLabs/enzyme-matchers/issues/318
the Matchers type of definitelytyped's jest package have been updated with https://github.com/DefinitelyTyped/DefinitelyTyped/pull/39243, which causes a compilation error since the interfaces don't match anymore.
Matchers
See: https://github.com/testing-library/jest-dom/issues/152 or https://github.com/styled-components/jest-styled-components/pull/270
This PR changes the type to match the new one.
as far as i can tell, for custom matchers passed to toMatchSnapshot assertions. not a 100% on that though
toMatchSnapshot
closes https://github.com/FormidableLabs/enzyme-matchers/issues/318
the
Matchers
type of definitelytyped's jest package have been updated with https://github.com/DefinitelyTyped/DefinitelyTyped/pull/39243, which causes a compilation error since the interfaces don't match anymore.See: https://github.com/testing-library/jest-dom/issues/152 or https://github.com/styled-components/jest-styled-components/pull/270
This PR changes the type to match the new one.