Skip to content

Commit ad09a27

Browse files
committed
Remove unused function createMocha()
1 parent 1798507 commit ad09a27

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

gulp-tasks/tests.js

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,6 @@ var buildFolder = path.join('dist', process.platform + '-' + process.arch);
99

1010
module.exports = function(gulp) {
1111

12-
function createMocha() {
13-
return new mochaa({
14-
recursive: true,
15-
compilers: 'js:babel-core/register',
16-
env: {
17-
NODE_PATH: '.'
18-
},
19-
grep: yargs.argv.grep,
20-
g: yargs.argv.g,
21-
reporter: yargs.argv.reporter,
22-
istanbul: {
23-
report: yargs.argv.report || 'lcov'
24-
}
25-
});
26-
}
27-
2812
gulp.task('unit-test-1by1', function() {
2913
return globby('test/unit/**/*.js', {root: '.'}).then(function(files) {
3014
files.reduce((promises, file) => {

0 commit comments

Comments
 (0)