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
The hooks in the tdd and bdd interfaces use aspect.on to add lifecycle functions to suites, which is equivalent to aspect.after. If a hook is called multiple times in a suite, only the value from the last added hook will be returned and resolved by Intern.
describe('something',()=>{beforeEach(()=>{// return a promise});beforeEach(()=>{// return a promise});});
The interfaces should do something (like wrap the hook callback) to ensure that any promise returned by a previous call to the hook will be resolved before the current callback is called.
The text was updated successfully, but these errors were encountered:
The hooks in the tdd and bdd interfaces use
aspect.on
to add lifecycle functions to suites, which is equivalent toaspect.after
. If a hook is called multiple times in a suite, only the value from the last added hook will be returned and resolved by Intern.The interfaces should do something (like wrap the hook callback) to ensure that any promise returned by a previous call to the hook will be resolved before the current callback is called.
The text was updated successfully, but these errors were encountered: