Skip to content

About

Side project for learning react-testing-library

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

Unsplash React Testing Library

Node.js CI

This is a side project for learning how to use react testing library

Installation

npm i

How to run in development mode

  1. Create .env file
  2. Add your REACT_APP_UNSPLASH_ACCESS_KEY
  3. Run npm run start

How to run tests

npm run test

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Folder Structure

.
├── public                  
├── src                     
│   └── components          # Components folder
├── .gitignore
└── README.md

License

MIT

Todo

  • Update dev dependencies
  • Split to multiple components
  • Remove lodaash
  • Use react context
  • Improve structure of tests
  • Use Nock for mocking network calls
  • Run npm audit

About

Side project for learning react-testing-library

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages