2015-09-25 16:08:54 -06:00
|
|
|
'use strict';
|
|
|
|
|
2016-03-22 15:47:09 -06:00
|
|
|
var path = require('path');
|
|
|
|
|
2015-09-25 16:08:54 -06:00
|
|
|
var gulp = require('gulp');
|
2016-03-22 15:47:09 -06:00
|
|
|
var karma = require('karma');
|
2015-09-25 16:08:54 -06:00
|
|
|
var config = require('../config');
|
|
|
|
|
2016-03-22 15:47:09 -06:00
|
|
|
gulp.task('unit', ['views'], function(done) {
|
|
|
|
new karma.Server({
|
|
|
|
configFile: path.join(process.cwd(), config.test.karma)
|
|
|
|
}, done).start();
|
|
|
|
});
|