extract test task to build/gulpfile.test.js
parent
a2c9dfa94d
commit
05c0eee675
|
@ -0,0 +1,15 @@
|
|||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const gulp = require('gulp');
|
||||
const mocha = require('gulp-mocha');
|
||||
|
||||
gulp.task('test', function () {
|
||||
return gulp.src('test/all.js')
|
||||
.pipe(mocha({ ui: 'tdd', delay: true }))
|
||||
.once('end', function () { process.exit(); });
|
||||
});
|
|
@ -9,7 +9,6 @@
|
|||
require('events').EventEmitter.defaultMaxListeners = 100;
|
||||
|
||||
const gulp = require('gulp');
|
||||
const mocha = require('gulp-mocha');
|
||||
const util = require('./build/lib/util');
|
||||
const path = require('path');
|
||||
const glob = require('glob');
|
||||
|
@ -38,12 +37,6 @@ gulp.task('clean-build', ['clean-client-build', 'clean-extensions-build']);
|
|||
gulp.task('compile-build', ['compile-client-build', 'compile-extensions-build']);
|
||||
gulp.task('watch-build', ['watch-client-build', 'watch-extensions-build']);
|
||||
|
||||
gulp.task('test', function () {
|
||||
return gulp.src('test/all.js')
|
||||
.pipe(mocha({ ui: 'tdd', delay: true }))
|
||||
.once('end', function () { process.exit(); });
|
||||
});
|
||||
|
||||
var ALL_EDITOR_TASKS = [
|
||||
'clean-optimized-editor',
|
||||
'optimize-editor',
|
||||
|
|
Loading…
Reference in New Issue