hmrc / component-library-template

Template files for HMRC's component library
1 stars 16 forks source link

Add unit tests & jasmine framework plus some support for vscode #57

Closed gordonmcmullan closed 6 years ago

gordonmcmullan commented 6 years ago

Some of the helpers were starting to get sufficient logic to warrant having tests, so I added Jasmine, in line with assets-frontend, and wrote some tests for a few of them.

I also added support for vscode to run the tests, and jshint in vscode.