react-testing-examples icon indicating copy to clipboard operation
react-testing-examples copied to clipboard

@testing-library/react

Open skube opened this issue 5 years ago • 3 comments

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! :)

skube avatar Sep 08 '19 15:09 skube

They should!

ovidiuch avatar Sep 08 '19 17:09 ovidiuch

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

ojnc avatar Apr 30 '20 15:04 ojnc

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.

ovidiuch avatar Apr 30 '20 15:04 ovidiuch