Skip to content

Commit

Permalink
fix(chore): properly create test task if only e2e tests are chosen
Browse files Browse the repository at this point in the history
fixes #36
  • Loading branch information
meriadec committed Nov 26, 2015
1 parent 52f9707 commit 1be2f4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ var BangularGenerator = yeoman.generators.Base.extend({
});
}

self.filters.hasTests = self.filters.karma || self.filters.mocha;
self.filters.hasTests = self.filters.karma || self.filters.mocha || self.filters.e2e;

if (props.backend === 'mongo') {
self.prompt([{
Expand Down

0 comments on commit 1be2f4b

Please sign in to comment.