var tape = require( 'tape' );

var elasticsearchStream = require( '../../lib/streams/elasticsearchStream' );

tape(
  'importPipeline.createPeliasElasticsearchPipeline() interface',
  function ( test ){
    test.plan( 1 );
    var esPipeline = elasticsearchStream.create();
    test.ok( esPipeline.writable, 'Stream is writable' );
  }
);

var tape = require( 'tape' );

var elasticsearchStream = require( '../../lib/streams/elasticsearchStream' );

tape(
  'importPipeline.createPeliasElasticsearchPipeline() interface',
  function ( test ){
    var esPipeline = elasticsearchStream.create();
    test.ok( esPipeline.writable, 'Stream is writable' );
    test.end();
  }
);

Use test.end() instead of test.plan()
Use test.end() instead of test.plan()

Just more commonly used in our code
