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

Native ES2016 timeout with Then #9

Open
digitalsadhu opened this issue Nov 6, 2015 · 0 comments
Open

Native ES2016 timeout with Then #9

digitalsadhu opened this issue Nov 6, 2015 · 0 comments
Assignees
Milestone

Comments

@digitalsadhu
Copy link

Using Node 4.2.

This works:

Then(function () { expect(2).to.equal(2) })

This times out:

Then(() => expect(2).to.equal(2))

This works:

Then(done => {
  expect(2).to.equal(2)
  done()
})
@rendro rendro self-assigned this Mar 10, 2016
@rendro rendro added this to the v0.2.0 milestone Mar 10, 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