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
{{ message }}
This repository was archived by the owner on Dec 27, 2018. It is now read-only.
In Mocha, the before/after/beforeEach/afterEach hooks take a description and a function; if you pass only a function, it generates a description for you. This package's versions of those hooks take only a function. Someone reading the mocha docs (like me) and attempting to annotate their hooks would then get an opaque error like:
${testsuite_name} "before each" hook: wrappedFunction for "${testcase_name}":
TypeError: fn.call is not a function
at run (packages/practicalmeteor_mocha-core.js:90:16)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In Mocha, the before/after/beforeEach/afterEach hooks take a description and a function; if you pass only a function, it generates a description for you. This package's versions of those hooks take only a function. Someone reading the mocha docs (like me) and attempting to annotate their hooks would then get an opaque error like:
The text was updated successfully, but these errors were encountered: