mjackson / expect

Write better assertions
MIT License
2.29k stars 117 forks source link

Oops someone published jest OVER expect on npm #226

Closed possibilities closed 7 years ago

possibilities commented 7 years ago

cc @cpojer

cpojer commented 7 years ago

Yes, that was intentional. It didn't publish Jest over expect, it published jest-matchers over expect. jest-codemods can be used to upgrade to the new version of expect, or otherwise please keep using the old version of expect if you like it better.

possibilities commented 7 years ago

Oh wow, ok. Thanks!

possibilities commented 7 years ago

No holy war here but I do have to say that's a kinda bad surprise for a longtime expect user. That said I see there won't be that much effort to convert. For now I'll trust that it's a good decision for the larger community.

skovhus commented 7 years ago

@possibilities expect@21+ still supports the same features as expect@1.

https://github.com/skovhus/jest-codemods should make is possible to seamly upgrade. Please give it a try, and let me know if something is not working for you (create issue over at our repo).

Thanks : )