MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/72lh17/react_16/dnjv34r/?context=3
r/javascript • u/batmansmk • Sep 26 '17
63 comments sorted by
View all comments
9
Anyone know if this works with enzyme?
10 u/UnReaL816 Sep 26 '17 Enzyme was just updated today as well 5 u/tonechild Sep 26 '17 Nice! Thanks! 5 u/alsiola Sep 26 '17 With the new enzyme release (3.0) then yes. 1 u/drom296 Sep 27 '17 so far: upgrading hasn't been smooth.Upgrading to enzyme@3, requires a new adaptor system. Upgrading to react@16, breaks some other dependencies.Of course, I'm doing this on a [email protected] project 1 u/tobegiannis Sep 27 '17 Just played around with an upgrade for a few mins. Seems like a pretty clunky way to get enzyme up an running. Do they expect me to import the adapter on every test file or have some kind of useless wrapper? 0 u/[deleted] Sep 27 '17 [deleted] 1 u/gaearon Sep 27 '17 Would be great if somebody could send a PR with this info to CRA user guide! 1 u/tobegiannis Sep 27 '17 Thanks I am not using cra but I stumbled upon a jest config for test startup scripts and got it working. 1 u/toffeescaf Sep 27 '17 Upgrading for me has been a breeze and I'm working on a fairly large project, any specific things you're running into that are a problem? 1 u/drom296 Sep 28 '17 Thanks for the assist. I'll give it another go tomorrow, and PM you if I run into issues again (if that's alright with you) 1 u/toffeescaf Sep 28 '17 That's fine by me. ;)
10
Enzyme was just updated today as well
5 u/tonechild Sep 26 '17 Nice! Thanks!
5
Nice! Thanks!
With the new enzyme release (3.0) then yes.
1
so far: upgrading hasn't been smooth.
Upgrading to enzyme@3, requires a new adaptor system. Upgrading to react@16, breaks some other dependencies.
Of course, I'm doing this on a [email protected] project
1 u/tobegiannis Sep 27 '17 Just played around with an upgrade for a few mins. Seems like a pretty clunky way to get enzyme up an running. Do they expect me to import the adapter on every test file or have some kind of useless wrapper? 0 u/[deleted] Sep 27 '17 [deleted] 1 u/gaearon Sep 27 '17 Would be great if somebody could send a PR with this info to CRA user guide! 1 u/tobegiannis Sep 27 '17 Thanks I am not using cra but I stumbled upon a jest config for test startup scripts and got it working. 1 u/toffeescaf Sep 27 '17 Upgrading for me has been a breeze and I'm working on a fairly large project, any specific things you're running into that are a problem? 1 u/drom296 Sep 28 '17 Thanks for the assist. I'll give it another go tomorrow, and PM you if I run into issues again (if that's alright with you) 1 u/toffeescaf Sep 28 '17 That's fine by me. ;)
Just played around with an upgrade for a few mins. Seems like a pretty clunky way to get enzyme up an running. Do they expect me to import the adapter on every test file or have some kind of useless wrapper?
0 u/[deleted] Sep 27 '17 [deleted] 1 u/gaearon Sep 27 '17 Would be great if somebody could send a PR with this info to CRA user guide! 1 u/tobegiannis Sep 27 '17 Thanks I am not using cra but I stumbled upon a jest config for test startup scripts and got it working.
0
[deleted]
1 u/gaearon Sep 27 '17 Would be great if somebody could send a PR with this info to CRA user guide! 1 u/tobegiannis Sep 27 '17 Thanks I am not using cra but I stumbled upon a jest config for test startup scripts and got it working.
Would be great if somebody could send a PR with this info to CRA user guide!
Thanks I am not using cra but I stumbled upon a jest config for test startup scripts and got it working.
Upgrading for me has been a breeze and I'm working on a fairly large project, any specific things you're running into that are a problem?
1 u/drom296 Sep 28 '17 Thanks for the assist. I'll give it another go tomorrow, and PM you if I run into issues again (if that's alright with you) 1 u/toffeescaf Sep 28 '17 That's fine by me. ;)
Thanks for the assist. I'll give it another go tomorrow, and PM you if I run into issues again (if that's alright with you)
1 u/toffeescaf Sep 28 '17 That's fine by me. ;)
That's fine by me. ;)
9
u/tonechild Sep 26 '17
Anyone know if this works with enzyme?