Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/gulpfile.test.js15
-rw-r--r--gulpfile.js7
2 files changed, 15 insertions, 7 deletions
diff --git a/build/gulpfile.test.js b/build/gulpfile.test.js
new file mode 100644
index 00000000000..ff89922100a
--- /dev/null
+++ b/build/gulpfile.test.js
@@ -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(); });
+});
diff --git a/gulpfile.js b/gulpfile.js
index 54413c7ec9e..cb425f3016a 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -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',