7a2944ded7
UiHelpers.renderInitialMessages() reads the module-level settings singleton (display.collapseCompacted) added upstream. Tests exercising it directly must call Settings.init() first or they fail with "Settings not initialized" whenever no earlier test in the same process happened to initialize it, which is bucket-order-dependent and flaky.