react typescript component testing with jest and react testing library code example
Example: react typescript testing
npm install @types/jest @testing-library/react @testing-library/jest-dom jest ts-jest
# Yarn
yarn add @types/jest @testing-library/react @testing-library/jest-dom jest ts-jest