yeoman / generator-karma

Yeoman generator for Karma
http://yeoman.io
BSD 2-Clause "Simplified" License
172 stars 48 forks source link

feat(gen): Allow option for configuring test path #40

Closed DaftMonk closed 10 years ago

DaftMonk commented 10 years ago

I'm adding mocha tests to the angular-fullstack generator and I need to be able to configure the karma test path to 'test/client' rather than 'test'.

This pull request adds a testPath option, with default path of 'test', so it should work exactly the same for those already using it, but would add optional configuration.

sindresorhus commented 10 years ago

Can you add a test?

DaftMonk commented 10 years ago

Anything missing from this PR? Waiting for this to be added so I can continue my work on angular-fullstack

addyosmani commented 10 years ago

Thanks @DaftMonk!