Skip to content

Conversation

lucaswerkmeister
Copy link

In the simple example from the documentation, the timeout problem doesn’t actually occur (if fetchDouble() synchronously throws an Error, QUnit reports a test failure despite the assert.async() still being outstanding), but in more complicated tests it can still happen. We’ve recently migrated some tests in MediaWiki core and extensions to async+await syntax – see 1, 2, 3.

In the simple example from the documentation, the timeout problem
doesn’t actually occur (if fetchDouble() synchronously throws an Error,
QUnit reports a test failure despite the assert.async() still being
outstanding), but in more complicated tests it can still happen. We’ve
recently migrated some tests in MediaWiki core and extensions to
async+await syntax – see [1], [2], [3].

[1]: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/VisualEditor/+/1026171
[2]: https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1106934
[3]: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/1188501
Copy link

linux-foundation-easycla bot commented Sep 24, 2025

CLA Signed

  • ✅login: lucaswerkmeister / name: Lucas Werkmeister / (f5e706b)

The committers listed above are authorized under a signed CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant