mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-15 03:34:03 +00:00
0c3d876b45
Mocha discourages the usage of arrow functiones in the test specs since Mocha context can't be accessed from inside. I stumbled across this when using this.skip(); in the reference preview selenium tests. Since it took me some time to figure out why it was not working, I guess it's better to avoid lambdas generally there. See https://mochajs.org/#arrow-functions Change-Id: I95cb183ac88e9a624c449a8f9addbe84bf76c335 |
||
---|---|---|
.. | ||
page_previews.js | ||
reference_previews.js |