johnpapa / generator-hottowel

Yo generator that creates an Angular app via HotTowel
835 stars 230 forks source link

Jasmine option #116

Closed louiealmeda closed 8 years ago

louiealmeda commented 9 years ago

I hope there would be an option to use Jasmine for this generator

ssbrewster commented 9 years ago

You could add jasmine to karma.conf.js and install the karma-jasmin adapter. Dropping mocha would mean no server side tests so personally I would keep that in.

// frameworks to use
// some available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['mocha', 'chai', 'sinon', 'chai-sinon', 'jasmine']
johnpapa commented 8 years ago

we use mocha, but feel free to change to jasmine.