Skip to content

Commit

Permalink
Merge branch 't/284'
Browse files Browse the repository at this point in the history
  • Loading branch information
szymonkups committed Aug 5, 2016
2 parents 4ff8263 + 80e9e72 commit 920ed74
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions dev/tasks/test/tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' );

/**
Expand Down Expand Up @@ -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() );
},

/**
Expand Down Expand Up @@ -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() );
},

/**
Expand Down
6 changes: 3 additions & 3 deletions dev/tests/test/tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand All @@ -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 );
Expand Down Expand Up @@ -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 );
Expand Down

0 comments on commit 920ed74

Please sign in to comment.