jsdoc-typescript-plugin icon indicating copy to clipboard operation
jsdoc-typescript-plugin copied to clipboard

Unit testing

Open icholy opened this issue 9 years ago • 2 comments

In addition to the e2e tests in place, I'd like to add some unit tests. Do you have a preference for which testing library is used. I usually use mocha or jasmine.

icholy avatar Sep 23 '16 19:09 icholy

Whatever works best with TypeScript. I've had a pleasurable experience with karma/mocha/chai in other TypeScript projects.

jumpinjackie avatar Sep 24 '16 07:09 jumpinjackie

Alright, lets do mocha and chai. Since we're not running in the browser, mocha's built in test runner should be good enough.

icholy avatar Sep 24 '16 16:09 icholy