Skip to content

Commit

Permalink
Fixed bug with generating mocks and proxies and not having unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adambullmer committed Apr 1, 2016
1 parent 75eab21 commit 972747c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions generators/mock/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ var baseComponent = require('../../lib/base-component'),

generator = extend(true, {}, baseComponent, {
componentType: 'Mock',
generateTest: false,

writing: {
component: function () {
Expand Down
1 change: 1 addition & 0 deletions generators/proxy/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ var generators = require('yeoman-generator'),

module.exports = generators.Base.extend({
componentType: 'Proxy',
generateTest: false,

constructor: function () {
generators.Base.apply(this, arguments);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "generator-angular-bro",
"version": "0.1.1",
"version": "0.1.2",
"description": "Angular app scaffolding and build chain",
"main": "generators/app/index.js",
"files": [
Expand Down

0 comments on commit 972747c

Please sign in to comment.