Update index.js

This commit is contained in:
yonatanmn
2015-04-04 16:11:26 +03:00
parent 27d8346e2a
commit 2869169b7b
+1
View File
@@ -11,6 +11,7 @@ util.inherits(MainGenerator, ScriptBase);
MainGenerator.prototype.createAppFile = function createAppFile(scriptAppName) {
this.reactRouter = this.env.options.reactRouter;
this.scriptAppName = scriptAppName;
this.appTemplate('App', 'components/' + scriptAppName);
this.testTemplate('spec/App', 'components/' + scriptAppName);
};