UNPKG
enzyme-adapter-preact-pure
Version:
latest (4.1.0)
4.1.0
4.0.1
4.0.0
3.4.0
3.3.0
3.2.0
3.1.0
3.0.0
2.3.0
2.2.3
2.2.2
2.2.1
2.2.0
2.1.0
2.0.2
2.0.1
2.0.0
1.13.4
1.13.3
1.13.2
1.13.1
1.13.0
1.12.0
1.11.0
1.10.4
1.10.3
1.10.2
1.10.1
1.10.0
1.9.0
1.8.0
1.7.1
1.7.0
1.6.0
1.5.0
1.4.0
1.3.0
1.2.0
1.1.0
1.0.0
0.5.0
0.4.0
0.3.0
0.2.0
0.1.1
0.1.0
Enzyme adapter for Preact
preactjs/enzyme-adapter-preact-pure
enzyme-adapter-preact-pure
/
build
/
src
/
RootFinder.js
8 lines
(7 loc)
•
235 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
/** * Helper for the `wrappingComponent` option for shallow rendering which is * used to locate the wrapped content in the output of a wrapper component. */
export
default
function
RootFinder
(
{ children, }
) {
return
children; }