mzgoddard / preact-render-spy

Render preact components with access to the produced virtual dom for testing.
https://www.npmjs.com/package/preact-render-spy
ISC License
178 stars 24 forks source link

Added filterWhere function to FindWrapper #55

Closed DzikowskiW closed 5 years ago

DzikowskiW commented 7 years ago

filterWhere function was added mimicking enzyme's functionality Resolves #54

gnarf commented 7 years ago

Also 😍 thanks for all the submissions!

mzgoddard commented 7 years ago

I concur with https://github.com/mzgoddard/preact-render-spy/pull/55#pullrequestreview-71558922 @gnarf. We can overload find and filter with the function style matching semantics.

DzikowskiW commented 7 years ago

I'm sorry for the delay, I had a hectic end of the month, I will have the changes ready by the end of the week.

For this pull request I still need to updateREADME and index.d.ts