mirror of
https://github.com/discourse/discourse.git
synced 2025-04-14 21:50:57 +08:00

This change both improves readability and fixes potential race-condition issues where promises were nested instead of being chained. Also includes: * Use arrow functions and Promise shorthands * Remove the obsolete `asyncTestDiscourse` helper