Doesn't pass `stream-spec` standardized test #6

Open
kumavis opened this Issue Jan 19, 2014 · 1 comment

Comments

Projects
None yet
1 participant
Contributor

kumavis commented Jan 19, 2014

@dominictarr's stream-spec for testing stream implementations

var WebWorkify = require('webworkify')
var WorkerStream = require('../index.js')
var spec = require('stream-spec')

var worker = WebWorkify(require('./ps-loopback-worker.js'))
var workerStream = WorkerStream(worker)

spec(workerStream)
  .through({strict: true})
  .validateOnExit()

results in

Uncaught AssertionError: stream *must* have pause

I'm sure there are other assertions once you get past this one.

Contributor

kumavis commented Jan 19, 2014

Was also trying to run stream-tester but that won't run in the browser

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment