mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-27 17:00:37 +00:00
Tests: Document why processLinks tests are integration tests
Also, mark the test module as @integration. Change-Id: I83bf8fa3f4bda0dafbe2a2e458fe9dc9ce68f025
This commit is contained in:
parent
3791f245a7
commit
6fbe64aba6
|
@ -1,6 +1,13 @@
|
|||
( function ( mw, $ ) {
|
||||
|
||||
QUnit.module( 'ext.popups/processLinks', {
|
||||
/**
|
||||
* processLinks QUnit tests remain integration tests given their dependency
|
||||
* on a running MediaWiki instance with properly configured variables for
|
||||
* 'wgContentNamespaces', 'wgArticlePath', and other configuration variables
|
||||
* accessed by `mw.Title`.
|
||||
*/
|
||||
|
||||
QUnit.module( 'ext.popups/processLinks @integration', {
|
||||
setup: function () {
|
||||
this.config = new mw.Map();
|
||||
this.config.set( {
|
||||
|
|
Loading…
Reference in a new issue