mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-15 11:46:55 +00:00
2ca5fed3ee
The render change listener is hard coupled to the renderer file, so in order to migrate the test, instead of stubbing a global variable, we had to either inject the renderer into the change listener factory as done everywhere else, or mock the require call. In order to do one thing per commit, we're mocking the require call here to get the migration done, but added a FIXME to use dependency injection instead in a future change. Change-Id: I50f82cdc9664d34b8a8ccc1ff368f7209404159d |
||
---|---|---|
.. | ||
eventLogging.test.js | ||
footerLink.test.js | ||
linkTitle.test.js | ||
render.test.js | ||
settings.test.js | ||
syncUserSettings.test.js |