Setup TDD environment using Jest and React Testing Suite for a React Typescript project which uses Babel to transpile and Webpack to Bundle #906
abdul-aziz-apu
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
@GR34SE Hi, I was searching for a good answer how to setup an TDD enviroment.
My thought so far Typescript already output the file, then I should use Babel to transpile and later for bundling I should use Webpack, for testing I should use Jest and React Testing Library.
I am here to know, how do i setup an environment where I will write test first using Jest, React Testing Library(RTL), the setup will show me that my code fail all the tests, then I should write code for my app which will pass those test. An script should automate that, here typescript watch for compiling the code into javascript, then I have to transpile that to babel and webpack to bundle.
How should I make the config files for typescript, babel, webpack, jest, react testing suite?
Beta Was this translation helpful? Give feedback.
All reactions