8
0
Szymon Kupś 9 лет назад
Родитель
Сommit
920ed74182
2 измененных файлов с 6 добавлено и 6 удалено
  1. 3 3
      dev/tasks/test/tasks.js
  2. 3 3
      dev/tests/test/tasks.js

+ 3 - 3
dev/tasks/test/tasks.js

@@ -11,7 +11,7 @@ const filterBy = require( 'gulp-filter-by' );
 const filter = require( 'gulp-filter' );
 const sinon = require( 'sinon' );
 const semver = require( 'semver' );
-const { tools, build } = require( 'ckeditor5-dev-utils' );
+const { tools, stream } = require( 'ckeditor5-dev-utils' );
 const benderConfig = require( '../../../bender' );
 
 /**
@@ -100,7 +100,7 @@ module.exports = () => {
 				.pipe( tasks.skipManual() )
 				.pipe( tasks.skipIgnored() )
 				.pipe( mocha( { reporter: 'progress' } ) )
-				.pipe( tasks.coverage ? istanbul.writeReports() : build.noop() );
+				.pipe( tasks.coverage ? istanbul.writeReports() : stream.noop() );
 		},
 
 		/**
@@ -132,7 +132,7 @@ module.exports = () => {
 		devTest() {
 			return gulp.src( 'dev/tests/**/*.js' )
 				.pipe( mocha() )
-				.pipe( tasks.coverage ? istanbul.writeReports() : build.noop() );
+				.pipe( tasks.coverage ? istanbul.writeReports() : stream.noop() );
 		},
 
 		/**

+ 3 - 3
dev/tests/test/tasks.js

@@ -9,7 +9,7 @@
 
 const Vinyl = require( 'vinyl' );
 const tasks = require( '../../tasks/test/tasks' )();
-const { build, tools } = require( 'ckeditor5-dev-utils' );
+const { stream: streamUtils, tools } = require( 'ckeditor5-dev-utils' );
 
 describe( 'test-node', () => {
 	describe( 'skipManual', () => {
@@ -30,7 +30,7 @@ describe( 'test-node', () => {
 				contents: null
 			} );
 
-			stream.pipe( build.noop( spy ) );
+			stream.pipe( streamUtils.noop( spy ) );
 
 			stream.once( 'finish', () => {
 				sinon.assert.calledOnce( spy );
@@ -60,7 +60,7 @@ describe( 'test-node', () => {
 				path: 'file1.js',
 				contents: new Buffer( '/* bender-tags: tag, browser-only */' )
 			} );
-			const noop = build.noop( spy );
+			const noop = streamUtils.noop( spy );
 			noop.once( 'finish', () => {
 				sinon.assert.calledOnce( spy );
 				sinon.assert.calledWithExactly( spy, unitTestFile );