Skip to content

AliTaee/test-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test-lab

Learning and Practicing unit test in React and JavaScript.

fundamentals folder ⚛️

In this folder you could find pure unit testing in JavaScript and how we could create our own assertion library.

src/components folder

In this folder you could see examples of unit testing for react components.

src/hooks folder

In this folder you could see examples of unit testing for react custom hooks.

src/redux folder

In this folder you could see examples of unit and integration testing for redux and react components.

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

Useful links 🔗

Redux

Libraries 📚

Tools 🛠️