fix karma tests

This commit is contained in:
Tim Lancina
2015-08-07 16:43:42 -05:00
parent f3839f9769
commit ef5f50883a
2 changed files with 1 additions and 2 deletions

View File

@ -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)
}))

View File

@ -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();