Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

Call suite:end even if runContexts() gets rejected #25

Merged
merged 1 commit into from
Sep 17, 2014

Conversation

dominykas
Copy link
Member

In case some promise is rejected inside TestRunner.runContexts, the suite:end event would never get emitted - this causes the runner to hang, as nothing ever really checks for the promise result.

This is a precursor to fix busterjs/buster#327

cjohansen added a commit that referenced this pull request Sep 17, 2014
Call `suite:end` even if `runContexts()` gets rejected
@cjohansen cjohansen merged commit 4d2790e into busterjs:master Sep 17, 2014
@dominykas dominykas deleted the suite-end-always-emits branch September 21, 2014 16:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Command line switch to fail on focus rocket
2 participants