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

Support for mocha's aliases #37

Open
apellerano-pw opened this issue Jun 29, 2018 · 0 comments
Open

Support for mocha's aliases #37

apellerano-pw opened this issue Jun 29, 2018 · 0 comments

Comments

@apellerano-pw
Copy link

Anything that operates on describe() should operate on context(); operates on it() should also operate on specify()

from https://mochajs.org/#bdd

context() is just an alias for describe(), and behaves the same way; it just provides a way to keep tests easier to read and organized. Similarly, specify() is an alias for it().

It goes on to list further aliases if you're using mocha with a TDD or QUnit-like syntax, but I don't personally use those or know if they're endorsed in the ember community so I'm not sure exactly how they should be included.

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

1 participant