Skip to content

Commit 52b1b21

Browse files
committed
fix(test blueprints): Prevent unwanted ember service and route test generation
The ember-cli generates blueprints for when generating a new service & route By overriding in it prevents the ember service & route test generation Fixes angular#202
1 parent ab42471 commit 52b1b21

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed
+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
var stringUtils = require('ember-cli/lib/utilities/string');
2+
3+
module.exports = {
4+
description: '',
5+
6+
// ******************************************************
7+
// ******************************************************
8+
// LEAVE THIS HERE
9+
// Must override install to prevent ember's route tests
10+
// ******************************************************
11+
// ******************************************************
12+
13+
install: function(options){}
14+
};
+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
var stringUtils = require('ember-cli/lib/utilities/string');
2+
3+
module.exports = {
4+
description: '',
5+
6+
// ******************************************************
7+
// ******************************************************
8+
// LEAVE THIS HERE
9+
// Must override install to prevent ember's service tests
10+
// ******************************************************
11+
// ******************************************************
12+
13+
install: function(options){}
14+
};

0 commit comments

Comments
 (0)