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

Promises not working with true() #34

Open
saulshanabrook opened this issue Aug 22, 2015 · 2 comments
Open

Promises not working with true() #34

saulshanabrook opened this issue Aug 22, 2015 · 2 comments

Comments

@saulshanabrook
Copy link

I am using the latest beta.

This doesn't work:

    yield Promise.resolve(true).must.eventually.be.true()

It errors with:

Function.prototype.toString is not generic
running chrome
TypeError: Function.prototype.toString is not generic
    at Must.toString (native)

...but this does work.

    yield Promise.resolve(true).must.eventually.equal(true)
@moll
Copy link
Owner

moll commented Aug 22, 2015

Hey! Sorry you're having trouble.
Is that when using Must.js in Chrome?

@saulshanabrook
Copy link
Author

Yep

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

2 participants