Maping function for FindWrapper
Deseteral opened this issue · comments
Michał Ferchow commented
It would be nice to have a map
function for FindWrapper
.
This will allow to write tests like this:
expect(wrapper.find('MyComponent').map(n => n.text())).toEqual([
'one',
'two',
'three',
]);