A seed for you to get started with @testdeck/jest
and React and Babel.
The project was bootstrapped with Create React App.
It also makes use of react-app-rewired and customize-cra to enable decorators.
To run all tests
npm test
To set this up, the following steps have been taken.
nvm install v8.15.1
npx create-react-app myapp
cd myapp
npm install --save-dev react-app-rewired customize-cra @babel/plugin-proposal-decorators @testdeck/jest
Next, create a config-overrides.js, and a .babelrc and you are done with the basics.
Now, augment src/App.test.js to make use of @testdeck/jest
and everything should work.