mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 11:17:19 +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)
|
||||
}))
|
||||
|
@ -9,7 +9,6 @@ Promise.all(
|
||||
.filter(onlySpecFiles)
|
||||
.map(window.file2moduleName) // Normalize paths to module names.
|
||||
.map(function(path) {
|
||||
debugger;
|
||||
return System.import(path).then(function(module) {
|
||||
if (module.hasOwnProperty('run')) {
|
||||
module.run();
|
||||
|
Reference in New Issue
Block a user