-
-
Save ycombinator/a8d7e5be68b4abf70a1a74526c104f82 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/gulpfile.js b/gulpfile.js | |
index e4c4981..5932c25 100644 | |
--- a/gulpfile.js | |
+++ b/gulpfile.js | |
@@ -5,7 +5,7 @@ const gulp = require('gulp'); | |
const g = require('gulp-load-plugins')(); | |
const path = require('path'); | |
const del = require('del'); | |
-const isparta = require('isparta'); | |
+// const isparta = require('isparta'); | |
const runSequence = require('run-sequence'); | |
const pluginHelpers = require('@elastic/plugin-helpers'); | |
@@ -105,17 +105,17 @@ gulp.task('pre-test', () => { | |
'!./**/__tests__/**', | |
].concat(fileGlobs.forPlugins()); | |
- return gulp.src(globs) | |
+ return gulp.src(globs); | |
// instruments code for measuring test coverage | |
- .pipe(g.istanbul({ | |
- instrumenter: isparta.Instrumenter, | |
- includeUntested: true, | |
- babel: { | |
- stage: 1 // should match https://github.com/elastic/kibana/blob/master/src/optimize/babel_options.js#L12 | |
- } | |
- })) | |
- // force `require` to return covered files | |
- .pipe(g.istanbul.hookRequire()); | |
+ // .pipe(g.istanbul({ | |
+ // instrumenter: isparta.Instrumenter, | |
+ // includeUntested: true, | |
+ // babel: { | |
+ // stage: 1 // should match https://github.com/elastic/kibana/blob/master/src/optimize/babel_options.js#L12 | |
+ // } | |
+ // })) | |
+ // // force `require` to return covered files | |
+ // .pipe(g.istanbul.hookRequire()); | |
}); | |
gulp.task('test', (cb) => { | |
@@ -132,7 +132,7 @@ gulp.task('testserver', ['pre-test'], () => { | |
return gulp.src(globs, { read: false }) | |
.pipe(g.mocha({ ui: 'bdd' })) | |
- .pipe(g.istanbul.writeReports()); | |
+ // .pipe(g.istanbul.writeReports()); | |
}); | |
gulp.task('testbrowser', () => { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment