mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
fix karma tests
This commit is contained in:
@ -158,7 +158,7 @@ gulp.task('bundle', ['bundle.ionic'], function() {
|
||||
gulp.task('tests', function() {
|
||||
return gulp.src('ionic/components/*/test/*/**/*.spec.ts')
|
||||
.pipe(tsc(tscOptions, null, tscReporter))
|
||||
.pipe(babel(getBabelOptions('tests')))
|
||||
.pipe(babel(getBabelOptions('dist/tests')))
|
||||
.pipe(rename(function(file) {
|
||||
file.dirname = file.dirname.replace(path.sep + 'test' + path.sep, path.sep)
|
||||
}))
|
||||
|
Reference in New Issue
Block a user