Enzyme: Lack of recent NPM package updates

Created on 4 Jul 2018  路  8Comments  路  Source: enzymejs/enzyme

Describe the bug
Enzyme has not been published to NPM for over 6 months

To Reproduce
https://www.npmjs.com/package/enzyme
https://www.npmjs.com/package/enzyme-adapter-react-16

Expected behavior
There have been some important fixes merged in, such as the fix to support React 16.3 context API:
https://github.com/airbnb/enzyme/pull/1513 , which I (and I'm sure others) need to use.

Please can a new version of Enzyme + the React 16 adapter be published?

I realise AirBnB are moving away from React Native, which I guess could be the reason for lack of updates. If that is the case, can access be given to others in the community to publish new versions?

All 8 comments

Airbnb's choices around React Native are utterly unrelated; it's simply that we aren't yet ready to publish updates.

I'm not going to publish any further updates to any part of enzyme that have partial support for React 16 features, as that will just result in a flood of new bug reports, all of which would distract from completing support for React 16's features.

It's being worked on; you'll need to be patient.

Ok sweet as - good news :)

No chance to at least get a pre-release? That would be so helpful to start experimenting with it and have an initial React 16.2+ support

@FezVrasta the work required to make a prerelease is basically identical to the work required to make a real one.

For anyone that wants to give the standard react-test-renderer a try, to get around this problem, I've just written up a medium article with some learnings on how to get started with it (the docs aren't that great!):

https://medium.com/@dupski/d9c65d689e88

The release will be as soon as possible; hopefully this or next month. I鈥檇 discourage migrating your tests to use the same APIs that motivated the creation of enzyme in the first place.

I'd be interested in reading about the motivations for Enzyme (I've just always used it). Is there a write-up somewhere?

Running tests with the test renderer seems to be incredibly fast, although could just be my new MacBook :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

blainekasten picture blainekasten  路  3Comments

ivanbtrujillo picture ivanbtrujillo  路  3Comments

dschinkel picture dschinkel  路  3Comments

modemuser picture modemuser  路  3Comments

amcmillan01 picture amcmillan01  路  3Comments