Skip to content

1nd/testable-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Testable Components

Learning to create React component that can be tested automatically

Getting Started

  1. Make sure you have installed all of prerequisites:
  • Node.js 10
  • Git
  • Yarn or npm (Yarn is recommended)
  1. Clone this repo
  2. yarn install
  3. Done

Local server can be started using yarn start. Initially it will failed because it can't find Login.js. We will create Login.js in this learning session.

To test, run yarn test. Initially there is no test yet so Jest will tell you "no test found".

About

Learning to create React component that has automated test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published