ludens-reklamebyra / react-crisscross

Flexible Layout Component for React
MIT License
2 stars 0 forks source link

Watch mode on unit tests #53

Closed oyvindhermansen closed 6 years ago

oyvindhermansen commented 6 years ago

Is your feature request related to a problem? Please describe. When doing unit testing with Jest, it gets pretty annoying to have to run yarn test each time you make an update in the code.

Describe the solution you'd like A command that runs the test in watch-mode.

Describe alternatives you've considered The solution to this would be putting this command as a script in package.json:

"scripts": {
  "test:watch": "jest --watchAll"
}

When this is done, it should also be covered in the Local development-section of the docs. (This will be visible after #52 is merged)