mediawiki-extensions-Popups/tests/selenium/specs
WMDE-Fisch 0c3d876b45 Avoid arrow functions in browser tests
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
2019-01-29 16:37:37 +00:00
..
page_previews.js Avoid arrow functions in browser tests 2019-01-29 16:37:37 +00:00
reference_previews.js Avoid arrow functions in browser tests 2019-01-29 16:37:37 +00:00