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

Test based on a promise finishes successfully even if promise is rejected #14

Closed
wuzyk opened this issue Oct 11, 2016 · 2 comments
Closed

Comments

@wuzyk
Copy link
Member

wuzyk commented Oct 11, 2016

test below should fail, but it doesn't

test: function(){
  assert(true);

  return Promise.resolve().then(function(){
    var c = a.b;
    assert(true);
  });
}
@lahmatiy
Copy link
Member

Suppose it fixed by #15
Should we close it?

@wuzyk
Copy link
Member Author

wuzyk commented Oct 13, 2016

Yes

@wuzyk wuzyk closed this as completed Oct 13, 2016
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