rtl render with typescript 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