jquery/qunit — Issue #184: In autorun mode, moduleDone is called without matching moduleStart
Author: niallsmart
Created: 2011-12-20 07:11:00+00:00
State: open

If `QUnit.config.autorun = true` then Qunit fires a `moduleDone` event after each test completes (as expected) however the `moduleStart` event is only fired when the first test in a module runs.

Logging `moduleEnd` entries without a corresponding `moduleStart` causes problems with some continuous integration tools (e.g., TeamCity). The attached patch ensures that `moduleStart/moduleDone` always happen in pairs.