Skip to content

testdeck seed for @testdeck/jest and React + Babel

Notifications You must be signed in to change notification settings

testdeck/testdeck-react-seed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

testdeck-react-seed

Build Status

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

How to set this up yourself

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.

About

testdeck seed for @testdeck/jest and React + Babel

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published