Skip to content

Conversation

@metamatt
Copy link

@metamatt metamatt commented Jun 9, 2015

If the it handler accepts a done argument, it is using the async
API, and must not return a promise.

Closes #1734.

If the `it` handler accepts a `done` argument, it is using the async
API, and must not return a promise.

Closes mochajs#1734.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this needs different language.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about Supply a "done" parameter or return a Promise, but not both

@boneskull
Copy link
Member

@metamatt

  • rebase against v3.0.0
  • change wording of error
  • ensure this error also applies to hooks

then I think we're good to merge

@hollomancer
Copy link

This was handled in #1320, closing this out.

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