mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
rename test -> karma
This commit is contained in:
@ -269,12 +269,12 @@ gulp.task('fonts', function() {
|
|||||||
require('./scripts/snapshot/snapshot.task')(gulp, argv, buildConfig);
|
require('./scripts/snapshot/snapshot.task')(gulp, argv, buildConfig);
|
||||||
|
|
||||||
gulp.task('karma', function() {
|
gulp.task('karma', function() {
|
||||||
return karma.start({ configFile: __dirname + '/scripts/test/karma.conf.js' })
|
return karma.start({ configFile: __dirname + '/scripts/karma/karma.conf.js' })
|
||||||
//return karma.start({ configFile: __dirname + '/karma.conf.js' })
|
//return karma.start({ configFile: __dirname + '/karma.conf.js' })
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.task('karma-watch', function() {
|
gulp.task('karma-watch', function() {
|
||||||
return karma.start({ configFile: __dirname + '/scripts/test/karma-watch.conf.js' })
|
return karma.start({ configFile: __dirname + '/scripts/karma/karma-watch.conf.js' })
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.task('docs', function() {
|
gulp.task('docs', function() {
|
||||||
|
@ -9,7 +9,7 @@ module.exports = function(config) {
|
|||||||
|
|
||||||
files: buildConfig.scripts.concat([
|
files: buildConfig.scripts.concat([
|
||||||
'dist/tests/**/*.spec.js',
|
'dist/tests/**/*.spec.js',
|
||||||
'scripts/test/test-main.js'
|
'scripts/karma/test-main.js'
|
||||||
]),
|
]),
|
||||||
|
|
||||||
exclude: buildConfig.src.e2e,
|
exclude: buildConfig.src.e2e,
|
Reference in New Issue
Block a user