fix test
This commit is contained in:
parent
e25566490b
commit
09b8809ede
2
dist/npmts.tests.js
vendored
2
dist/npmts.tests.js
vendored
@ -17,7 +17,7 @@ var mocha = function (configArg) {
|
|||||||
.pipe(plugins.g.babelIstanbul.hookRequire())
|
.pipe(plugins.g.babelIstanbul.hookRequire())
|
||||||
.pipe(plugins.g.sourcemaps.write())
|
.pipe(plugins.g.sourcemaps.write())
|
||||||
.on("finish", function () {
|
.on("finish", function () {
|
||||||
plugins.gulp.src([plugins.path.join(paths.cwd, "dist/*.js")])
|
plugins.gulp.src([plugins.path.join(paths.cwd, "test/test.js")])
|
||||||
.pipe(plugins.g.babel())
|
.pipe(plugins.g.babel())
|
||||||
.pipe(plugins.g.injectModules())
|
.pipe(plugins.g.injectModules())
|
||||||
.pipe(plugins.g.mocha())
|
.pipe(plugins.g.mocha())
|
||||||
|
@ -17,7 +17,7 @@ let mocha = function (configArg) {
|
|||||||
.pipe(plugins.g.babelIstanbul.hookRequire())
|
.pipe(plugins.g.babelIstanbul.hookRequire())
|
||||||
.pipe(plugins.g.sourcemaps.write())
|
.pipe(plugins.g.sourcemaps.write())
|
||||||
.on("finish",function(){
|
.on("finish",function(){
|
||||||
plugins.gulp.src([plugins.path.join(paths.cwd,"dist/*.js")])
|
plugins.gulp.src([plugins.path.join(paths.cwd,"test/test.js")])
|
||||||
.pipe(plugins.g.babel())
|
.pipe(plugins.g.babel())
|
||||||
.pipe(plugins.g.injectModules())
|
.pipe(plugins.g.injectModules())
|
||||||
.pipe(plugins.g.mocha())
|
.pipe(plugins.g.mocha())
|
||||||
|
Loading…
Reference in New Issue
Block a user