Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't pass stream-spec standardized test #6

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

Doesn't pass stream-spec standardized test #6

kumavis opened this issue Jan 19, 2014 · 1 comment

Comments

@kumavis
Copy link
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.

@kumavis
Copy link
Contributor Author

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant