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
I'm trying to run test (TDD) in my application but it's returning "Uncaught ReferenceError: describe is not defined" in console. Even in a brand new scaffolding project this error shows up. Am I missing something? Thanks.
The text was updated successfully, but these errors were encountered:
I guess people use TDD so rarely that this bug hasn't surfaced until now. @flaviodut as you can see in Mocha's docs, TDD doesn't use describe, it uses suite, test etc. Those are the ones that are available globally.
silvenon
changed the title
Trying to run test
TDD test file is the same as BDD, so it doesn't work because Mocha expects a different interface
Nov 11, 2019
I'm trying to run test (TDD) in my application but it's returning "Uncaught ReferenceError: describe is not defined" in console. Even in a brand new scaffolding project this error shows up. Am I missing something? Thanks.
The text was updated successfully, but these errors were encountered: