qunitjs / qunit

🔮 An easy-to-use JavaScript unit testing framework.
https://qunitjs.com
MIT License
4.02k stars 783 forks source link

Core: Fix hanging `assert.async()` after `assert.timeout()` #1739

Closed Krinkle closed 5 months ago

Krinkle commented 5 months ago

Follows-up 163c9bcf60 (https://github.com/qunitjs/qunit/pull/1642), which changed an internalRecover() to internalStart(), whereas internalStart will (correctly) not resume if there are other pauses still remaining.

Change this back to internalRecover().

Fixes https://github.com/qunitjs/qunit/issues/1705.