@@ -231,14 +231,15 @@ gulp.task('optimize', ['html:inject'], function () {
231231// =====
232232
233233var testFiles = [
234- config . build + '/vendor/**/*.js' ,
234+ 'vendor/**/*.js' ,
235+ '!vendor/*jquery*/src/**/*.js' ,
235236 config . build + '/+(app|common)/**/*.module.js' ,
236237 config . build + '/+(app|common)/**/*.js' ,
237238 config . mocks ,
238239 config . paths . tests
239240] ;
240241
241- gulp . task ( 'test:run' , [ 'scripts:lint' , 'scripts:cacheTpls' , 'vendor:assets' , ' styles:sass', 'html:inject' ] , function ( ) {
242+ gulp . task ( 'test:run' , [ 'scripts:lint' , 'scripts:cacheTpls' , 'styles:sass' , 'html:inject' ] , function ( ) {
242243 // Be sure to return the stream
243244 return gulp . src ( testFiles )
244245 . pipe ( plugins . karma ( {
@@ -250,7 +251,7 @@ gulp.task('test:run', ['scripts:lint', 'scripts:cacheTpls', 'vendor:assets', 'st
250251 } ) ;
251252} ) ;
252253
253- gulp . task ( 'test:watch' , [ 'scripts:lint' , 'scripts:cacheTpls' , 'vendor:assets' , ' styles:sass', 'html:inject' ] , function ( ) {
254+ gulp . task ( 'test:watch' , [ 'scripts:lint' , 'scripts:cacheTpls' , 'styles:sass' , 'html:inject' ] , function ( ) {
254255 gulp . src ( testFiles )
255256 . pipe ( plugins . karma ( {
256257 configFile : 'karma.conf.js' ,
0 commit comments