We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64e7038 commit 4c13d12Copy full SHA for 4c13d12
app/src/preprocessors.js
@@ -4,6 +4,7 @@ var _ = require('lodash');
4
5
function rejectWithRegexp(regexp) {
6
this.files = _.reject(this.files, function(file) {
7
+ console.log(file.src);
8
return regexp.test(file.src);
9
});
10
}
@@ -74,7 +75,7 @@ module.exports = function(GulpAngularGenerator) {
74
75
76
77
if(this.props.jsPreprocessor.key !== 'none') {
- rejectWithRegexp.call(this, /spec\.js/);
78
+ rejectWithRegexp.call(this, /^(?!^e2e\/).*spec\.js/);
79
80
};
81
0 commit comments