how to test props in react typescript testing 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