mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
Adjusted old e2e
This commit is contained in:
@ -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) {
|
||||||
|
Reference in New Issue
Block a user