Typescript and TS config
yarn add -D typescript
Typescript and Jest + Babel
yarn add --dev babel-jest @babel/core @babel/preset-env
yarn add --dev @babel/preset-typescript
yarn add --dev @types/jest
-
babel.config.js
- https://github.com/kentcdodds/react-jest-workshop
- https://github.com/fczbkk/webinar-test-tools-js
- https://github.com/fczbkk/webinar-testable-js
- https://github.com/fczbkk/workshop-testing
- https://reactjs.org/docs/testing.html
- https://jestjs.io/docs/tutorial-react
- https://testing-library.com/docs/react-testing-library/intro/
- https://airbnb.io/projects/enzyme/
- https://enzymejs.github.io/enzyme/
- For React 17 is enzyme merely deprecated
- enzymejs/enzyme#2429
- https://testingjavascript.com/
- https://github.com/kentcdodds/testing-react-apps
- hooks - https://github.com/kentcdodds/react-hooks/tree/main/src
- https://github.com/kentcdodds/advanced-react-hooks/tree/main/src
- https://github.com/kentcdodds/advanced-react-patterns/tree/main/src
- https://github.com/kentcdodds/react-testing-library-examples
- https://github.com/kentcdodds/js-mocking-fundamentals
- https://github.com/kentcdodds/js-testing-fundamentals
- https://github.com/kentcdodds/testing-node-apps
- https://github.com/kentcdodds/react-testing-library-course
- https://github.com/kentcdodds/how-jest-mocking-works
- https://github.com/kentcdodds/dom-testing-library-with-anything
- https://react-testing-examples.com/