Skip to content

rrjoson/unsplash-react-testing-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Releases

No releases published

Packages

No packages published