abcnews / aunty

A toolkit for working with ABC News projects
https://www.npmjs.com/package/@abcnews/aunty
MIT License
32 stars 5 forks source link

Add a test command #66

Closed colingourlay closed 6 years ago

colingourlay commented 6 years ago

Now aunty test will run jest internally, removing the requirement to install (and configure) it at the project level.

You can customise the jest config the same way you can with webpack or babel.

I've updated the Readme and aunty's usage docs to reflect this, and changed the app generator accordingly. Generated apps' package.jsons now have the test script defined, so npm test will do what you expect.

Closes #57