ovidiuch / react-testing-examples

Searchable library of React testing examples
https://react-testing-examples.netlify.app
MIT License
387 stars 29 forks source link

@testing-library/react #40

Open skube opened 5 years ago

skube commented 5 years ago

Shouldn't the examples be updated to point to the new scoped path?

react-testing-library has moved to @testing-library/react. Please uninstall react-testing-library and install @testing-library/react instead, or use an older version of react-testing-library. Learn more about this change here: https://github.com/testing-library/dom-testing-library/issues/260 Thanks! :)

ovidiuch commented 5 years ago

They should!

ojnc commented 4 years ago

https://react-testing-examples.com/ is wonderful If not too much effort please update to latest @testing-library/react

I find create-react-app includes jest in innards so you do not have to install jest as a binary command globally

https://github.com/kentcdodds/react-testing-library-examples package.json still has "test": "jest", but should be "test": "react-scripts test",

Please make it easy for users like us to use in current context

ovidiuch commented 4 years ago

If not too much effort please update to latest @testing-library/react

A contribution would be appreciated, I'm running low on spare time at the moment.

I find create-react-app includes jest in innards...

I'm don't understand this part. This project doesn't use Create React App, and is unrelated to kentcdodds/react-testing-library-examples.