mediawiki-extensions-Popups/tests/node-qunit
Piotr Miazga f2fbef6ec7 Implement html/rest.js gateway which handles HTML Restbase responses
Refactor existing Restbase gateway and extract shared logic into
shared Restbase provider. Also introduced new createNullModel()
which defines an empty preview model.

Additionally improve naming in new gateways/formatter so function
names are more explicity.
 * Htmlize() became formatPlainTextExtract() as it should be used
   only with plain text extracts
 * removeEllipsis() became  removeTrailingEllipsis() as it removes
   only trailing ellipsis.
 * src/gateway/index.js defines gateways by configuration name stored
   in extension.json

Bug: T165018
Change-Id: Ibe54dddfc1080e94814d1562d41e85cb6b43bfc1
Depends-On: I4f42c61b155a37c5dd42bc40034583865abd5d7a
2017-06-13 20:19:05 +02:00
..
changeListeners Clear interaction after an event for it is logged in EL 2017-05-16 11:25:41 +02:00
gateway Implement html/rest.js gateway which handles HTML Restbase responses 2017-06-13 20:19:05 +02:00
preview Extract rendering/parsing mediawiki responses into separate class 2017-06-09 18:34:25 +02:00
reducers eventLogging: Add missing properties to "tapped settings cog" event 2017-06-07 10:13:23 +01:00
actions.test.js Use delegated events in container 2017-06-08 12:31:06 -07:00
changeListener.test.js Test: Migrate changeListener.test.js to node-qunit 2017-02-20 20:01:01 +01:00
container.test.js Add service container 2017-05-23 06:25:44 +01:00
counts.test.js Set up qunit running in node to migrate tests to commonjs 2017-02-20 20:01:01 +01:00
formatter.test.js Implement html/rest.js gateway which handles HTML Restbase responses 2017-06-13 20:19:05 +02:00
integration.test.js Use delegated events in container 2017-06-08 12:31:06 -07:00
isEnabled.test.js Hygiene: QUnit setup -> beforeEach & teardown -> afterEach 2017-04-26 12:34:12 +02:00
previewBehavior.test.js Hygiene: QUnit setup -> beforeEach & teardown -> afterEach 2017-04-26 12:34:12 +02:00
renderer.js Extract rendering/parsing mediawiki responses into separate class 2017-06-09 18:34:25 +02:00
schema.test.js Hygiene: Tidy up QUnit references 2017-05-04 15:53:44 +01:00
settingsDialog.test.js Tests: Migrate settingsDialog.test.js to node qunit 2017-02-22 12:14:07 +01:00
statsvInstrumentation.test.js Hygiene: QUnit setup -> beforeEach & teardown -> afterEach 2017-04-26 12:34:12 +02:00
stubs.js actions/rest: Use DB-key version of title 2017-06-12 11:22:55 +01:00
title.test.js Add title#isValid 2017-06-08 12:29:33 -07:00
userSettings.test.js Hygiene: QUnit setup -> beforeEach & teardown -> afterEach 2017-04-26 12:34:12 +02:00
wait.test.js Test: Migrate wait.test.js to node-qunit 2017-02-22 12:13:37 +01:00