Go Pro Sign Up Login
0 days 0 hrs 0 min 0 sec

Summer Sale

50% off Level Up Pro until you unsubscribe.
Get access to ALL 128 courses on Level Up Tutorials

This is your last chance to get Level Up Pro for $145/year.

or Learn More
Moon Moon

Buy Now and unlock this series

$

39

.99

yours forever

Become a Pro and unlock everything

$

24

.99

per month

Introduction To React Testing

Here, we will begin actually testing in React. We will continue to use Jest but in this video we will start working on a real world project. Check out the Level Up Tuts GitHub page below for the sample code.

https://github.com/leveluptuts/React-Testing-For-Beginners

git clone https://github.com/leveluptuts/React-Testing-For-Beginners.git
cd React-Testing-For-Beginners
yarn

Downloads

Become a pro to download code and videos

Comments

Ania

6 months ago

I do love Syntax podcast and I'm here because of it. So I had high expectations about those courses. But unfortunately it's outdated and every repo so far in this course has errors.

I feel disappointed :(

Bobo

about 1 year ago

Hey which course has this code? i like the styled component and the react components you built i would like to go through it

Alex

almost 2 years ago [edited]

If any of y'all are having issues with the repo, just ignore it. It was based on a default create-react-app install. To build your own just run npx create-react-app [YOUR_PROJECT_NAME]

Jason

about 2 years ago

I just got a sub to this site and the first course I try I can't do because of all the errors in the repo. I will wanting a refund

Giorgio

over 2 years ago

@jared Did you manage to get this working?

Giorgio

over 2 years ago

@Josh Casbolt I am having issues runing test, plus the repo is different than in the video.

I am on windows so brew doesnt work for me. This is frustrating, the error syas: Error: A package is trying to access another package without the second one being listed as a dependency of the first one

Required package: slash (via "slash")

Any ideas on how to fix it?

Josh Casbolt

over 2 years ago

Hey friends, just incase you have issues when running npm test here, (I had several errors) make sure you have brew & watchman installed, this fixed it for me:

Install brew: copy & paste 1 liner at https://brew.sh/

Install watchman: brew update brew install watchman

Mashael

almost 3 years ago

@jared It did work for me when I tried to install( react-router-dom, react-scripts, react-transition-group, styled-components, eslint ).

jared

almost 3 years ago [edited]

This repo is also pretty outdated ... might be worth an update :)

** Update ** Can't get it to work ... Lots of strange errors when trying to run jest. My best guess is deprecated dependencies

User avatar

Mantas

over 3 years ago

Professional content. Thank you.

Want to join the conversation?

Become a Pro member today!