mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 12:27:56 +08:00

These spec are flaky only in CI, not locally and not in GitHub actions. The previous attempt was in 44eabde, but actually the failure happens a bit earlier. This is another attempt to fix these specs. Quite a lot of async logic is happening in emulateAutocomplete(), a call to settled() in the end should help make it more reliable.