Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 1.34 KB

README.md

File metadata and controls

25 lines (15 loc) · 1.34 KB

git-battle

Maintainability Test Coverage

A simple app deployed to gh-pages to practice react skills

Testing tools used for this project

Jest, a test runner;

React Testing Library, a testing utility for React;

jest-dom, Jest matchers for testing the DOM;

@testing-library/user-event, testing user events;

jest-prop-type-error, fails tests on prop-type errors instead of ignoring them;

Some very good articles

How To Mock Fetch in Jest How to Test Asynchronous Methods with React Testing Library Modern React testing, part 1: best practices Common mistakes with React Testing Library