Skip to content

Commit

Permalink
auto generate tests for components & services. closes #221
Browse files Browse the repository at this point in the history
  • Loading branch information
jadjoubran committed Mar 27, 2016
1 parent f57fccb commit 4dc3359
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 9 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"laravel/framework": "5.2.*",
"tymon/jwt-auth": "0.5.*",
"barryvdh/laravel-cors": "0.7.x",
"laravelangular/generators": "2.1.x",
"laravelangular/generators": "2.2.x",
"dingo/api": "1.0.x@dev"
},
"require-dev": {
Expand Down
16 changes: 8 additions & 8 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions config/generators.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,21 @@
'component' => '.component.js',
'componentView' => '.component.html',
'dialog' => '.dialog.js',
'dialogView' => '.dialog.html',
'service' => '.service.js',
'config' => '.config.js',
'filter' => '.filter.js',
'pageView' => '.page.html',
],
'tests' => [
'enable' => [
'components' => true,
'services' => true,
],
'source' => [
'root' => 'tests/angular/',
'components' => 'app/components',
'services' => 'services',
],
],
];

0 comments on commit 4dc3359

Please sign in to comment.