Skip to content
Side project for learning react-testing-library
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
src
.gitignore
README.md
package-lock.json
package.json

README.md

Unsplash React Testing Library

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.

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
You can’t perform that action at this time.