diff options
Diffstat (limited to 'www/lib/ng-websocket/Gulpfile.js')
| -rw-r--r-- | www/lib/ng-websocket/Gulpfile.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/www/lib/ng-websocket/Gulpfile.js b/www/lib/ng-websocket/Gulpfile.js new file mode 100644 index 00000000..c3a248e2 --- /dev/null +++ b/www/lib/ng-websocket/Gulpfile.js @@ -0,0 +1,15 @@ +var gulp = require('gulp'), + karma = require('gulp-karma'); + +gulp.task('test', function () { + return gulp.src([ + 'bower_components/angular/angular.js', + 'bower_components/angular-mocks/angular-mocks.js', + 'ng-websocket.js', + 'test/unit/**/*.js' + ]) + .pipe(karma({ + configFile: 'test/karma.conf.js', + action: 'run' + })); +});
\ No newline at end of file |
