Adjusted old e2e

This commit is contained in:
Max Lynch
2015-05-12 21:44:13 -05:00
parent 0e63850a8f
commit 11cf305303

View File

@ -173,7 +173,7 @@ gulp.task('karma-watch', function() {
gulp.task('e2e', ['ionic-js', 'sass'], function() { gulp.task('e2e', ['sass'], function() {
var indexContents = _.template( fs.readFileSync('scripts/e2e/index.template.html') )({ var indexContents = _.template( fs.readFileSync('scripts/e2e/index.template.html') )({
buildConfig: buildConfig buildConfig: buildConfig
}); });
@ -193,7 +193,7 @@ gulp.task('e2e', ['ionic-js', 'sass'], function() {
})) }))
.pipe(gulpif(/main.js$/, processMain())) .pipe(gulpif(/main.js$/, processMain()))
//.pipe(gulpif(/e2e.js$/, createPlatformTests())) //.pipe(gulpif(/e2e.js$/, createPlatformTests()))
//.pipe(gulp.dest(buildConfig.dist + '/e2e')) .pipe(gulp.dest(buildConfig.dist + '/e2e'));
function processMain() { function processMain() {
return through2.obj(function(file, enc, next) { return through2.obj(function(file, enc, next) {