Skip to content

Commit

Permalink
Update test framework generators
Browse files Browse the repository at this point in the history
- new generator-mocha plays better in headless browser workflows (e.g. PhantomJS)
- new generator-jasmine installs dependencies in your existing bower.json and works with the latest version of Jasmine
  • Loading branch information
silvenon committed Jul 9, 2015
1 parent 31348ff commit eab6184
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ module.exports = generators.Base.extend({
if (this.options['test-framework'] === 'mocha') {
testLocal = require.resolve('generator-mocha/generators/app/index.js');
} else if (this.options['test-framework'] === 'jasmine') {
testLocal = require.resolve('generator-jasmine/lib/generators/app/index.js');
testLocal = require.resolve('generator-jasmine/generators/app/index.js');
}

this.composeWith(this.options['test-framework'] + ':app', {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
],
"dependencies": {
"chalk": "^1.0.0",
"generator-jasmine": "^0.1.3",
"generator-mocha": "^0.1.8",
"generator-jasmine": "^0.2.1",
"generator-mocha": "^0.2.0",
"mkdirp": "^0.5.1",
"underscore.string": "^3.1.1",
"wiredep": "^2.2.2",
Expand Down

0 comments on commit eab6184

Please sign in to comment.