mediawiki-extensions-Popups/tests/qunit/ext.popups
joakin 82e315b124 Tests: Migrate {integration,actions}.test.js to node qunit
Because of the globals mw.popups.wait usage and mocking in both actions
and integration, they need to be migrated in a single step, fixing them
both to require wait.js and mock using mock-require instead of the
global variable.

Additional changes:
* Fix FIXMEs about actions.js using the global mw.popups.wait instead of
  the require one.
* Fix the unit tests to use require mocking for wait.js instead of
  global variable mocking in both integration and actions tests
* Change tests that use deferreds and promises to be async qunit tests
  (Deferreds are asynchronous with jQuery in node, apparently they
  weren't in the browser)
* Change integration.test.js to use require on Redux and ReduxThunk

Change-Id: I8e3e87b158bd11c9620e77d0a73e611cf9e82183
2017-02-27 18:17:28 +01:00
..
stubs Hygiene: Remove experiment-related code 2016-12-16 10:59:47 +00:00
processLinks.test.js Hygiene: #processLinks Improve wording on tests 2016-11-30 17:01:54 +00:00
schema.test.js Hygiene: Rename SchemaPopupsSamplingRate 2017-01-15 11:01:00 -08:00
userSettings.test.js Hygiene: Remove experiment-related code 2016-12-16 10:59:47 +00:00