react-with-styles icon indicating copy to clipboard operation
react-with-styles copied to clipboard

[Tests] use enzyme-adapter-react-helper; test on multiple react versions

Open ljharb opened this issue 8 years ago • 2 comments

This uses enzyme-adapter-react-helper to handle both configuring enzyme, as well as ensuring the proper react version is installed.

Based on https://github.com/airbnb/react-dates/pull/846

ljharb avatar Nov 17 '17 22:11 ljharb

@ljharb Are you still interested in landing this change?

lencioni avatar Jul 03 '18 12:07 lencioni

Yep - I'm planning on adding a feature to enzyme (after the react work is done) that applies safeSFC inside the react 13 adapter, so that all this boilerplate can vanish.

ljharb avatar Jul 03 '18 21:07 ljharb