mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
chore(): build tests before karma-watch
This commit is contained in:
@ -674,7 +674,7 @@ gulp.task('karma', ['tests'], function() {
|
|||||||
return karma.start({ configFile: __dirname + '/scripts/karma/karma.conf.js' })
|
return karma.start({ configFile: __dirname + '/scripts/karma/karma.conf.js' })
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.task('karma-watch', function() {
|
gulp.task('karma-watch', ['tests'], function() {
|
||||||
var karma = require('karma').server;
|
var karma = require('karma').server;
|
||||||
return karma.start({ configFile: __dirname + '/scripts/karma/karma-watch.conf.js' })
|
return karma.start({ configFile: __dirname + '/scripts/karma/karma-watch.conf.js' })
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user