HomePhabricator

Don't trigger event in mediawiki.ui.enhance test

Authored by Mooeypoo.

Description

Don't trigger event in mediawiki.ui.enhance test

Instead, directly call the method that the event triggers, to avoid
timing issues.

Bug: T111459
Change-Id: Iadb916bc801d1f4eb4748a7c6c2ee29d2d899073