0034283601
Adds boilerplate files from `angularjs-gulp-browserify-boilerplate` to start work on Angular rewrite of the frontend. Change-Id: I54392c24f397496582f9d06d561d5c14a92ccbe6
21 lines
528 B
JavaScript
21 lines
528 B
JavaScript
'use strict';
|
|
|
|
var gulp = require('gulp');
|
|
var karma = require('gulp-karma');
|
|
var config = require('../config');
|
|
|
|
gulp.task('unit', ['views'], function() {
|
|
|
|
// Nonsensical source to fall back to files listed in karma.conf.js,
|
|
// see https://github.com/lazd/gulp-karma/issues/9
|
|
return gulp.src('./thisdoesntexist')
|
|
.pipe(karma({
|
|
configFile: config.test.karma,
|
|
action: 'run'
|
|
}))
|
|
.on('error', function(err) {
|
|
// Make sure failed tests cause gulp to exit non-zero
|
|
throw err;
|
|
});
|
|
|
|
}); |