You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Anything that operates on
describe()
should operate oncontext()
; operates onit()
should also operate onspecify()
from https://mochajs.org/#bdd
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.
The text was updated successfully, but these errors were encountered: