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

Make this test actually pass #10

Closed
wants to merge 1 commit into from
Closed

Conversation

ljharb
Copy link

@ljharb ljharb commented May 10, 2015

No description provided.

@spion
Copy link
Owner

spion commented May 10, 2015

The tests are pretty bad overall, but at least they test the right thing before the PR (that is, whether the modified tape correctly processes fulfilled / rejected promises). There should be one failing test for rejections.

I'm open to suggestions. The original tape actually tests the tap output, but I there has to be another, easier way...

@ljharb
Copy link
Author

ljharb commented May 10, 2015

Gotcha - npm test needs to exit zero though, otherwise it's not useful imo. I'll think about it.

@tomek-he-him tomek-he-him mentioned this pull request Sep 15, 2015
@tomek-he-him
Copy link
Contributor

Perhaps generating and checking an object stream is the way to go?

@spion
Copy link
Owner

spion commented Nov 27, 2015

@tomekwi yup, that was it, blue-tape now successfully tests itself 😀

@spion spion closed this Nov 27, 2015
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

Successfully merging this pull request may close these issues.

3 participants