mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-12-18 10:10:48 +00:00
Hygiene: Group instrumentation modules
Following on from I4f653bba, since the schema and statsvInstrumentation modules are similar, let's group/rename them: schema -> instrumentation/eventLogging statsvInstrumentation -> instrumentation/statsv Change-Id: Ic59e0da7d4917f6733fd090f15d3c269af863f05
This commit is contained in:
parent
67eb3b1dcf
commit
dcf8532cdf
BIN
resources/dist/index.js
vendored
BIN
resources/dist/index.js
vendored
Binary file not shown.
BIN
resources/dist/index.js.map
vendored
BIN
resources/dist/index.js.map
vendored
Binary file not shown.
|
@ -16,8 +16,8 @@ var mw = mediaWiki,
|
||||||
title = require( './title' ),
|
title = require( './title' ),
|
||||||
renderer = require( './renderer' ),
|
renderer = require( './renderer' ),
|
||||||
createExperiments = require( './experiments' ),
|
createExperiments = require( './experiments' ),
|
||||||
statsvInstrumentation = require( './statsvInstrumentation' ),
|
statsvInstrumentation = require( './instrumentation/statsv' ),
|
||||||
eventLoggingInstrumentation = require( './schema' ),
|
eventLoggingInstrumentation = require( './instrumentation/eventLogging' ),
|
||||||
|
|
||||||
changeListeners = require( './changeListeners' ),
|
changeListeners = require( './changeListeners' ),
|
||||||
actions = require( './actions' ),
|
actions = require( './actions' ),
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
var isEnabled = require( '../../src/schema' ).isEnabled,
|
var isEnabled = require( '../../../src/instrumentation/eventLogging' ).isEnabled,
|
||||||
stubs = require( './stubs' );
|
stubs = require( '../stubs' );
|
||||||
|
|
||||||
QUnit.module( 'ext.popups/schema', {
|
QUnit.module( 'ext.popups/instrumentation/eventLogging', {
|
||||||
beforeEach: function () {
|
beforeEach: function () {
|
||||||
this.config = stubs.createStubMap();
|
this.config = stubs.createStubMap();
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
var stubs = require( './stubs' ),
|
var stubs = require( './../stubs' ),
|
||||||
statsv = require( '../../src/statsvInstrumentation' );
|
statsv = require( '../../../src/instrumentation/statsv' );
|
||||||
|
|
||||||
QUnit.module( 'ext.popups/statsvInstrumentation' );
|
QUnit.module( 'ext.popups/instrumentation/statsv' );
|
||||||
|
|
||||||
QUnit.test( '#isEnabled', function ( assert ) {
|
QUnit.test( '#isEnabled', function ( assert ) {
|
||||||
var user = stubs.createStubUser(),
|
var user = stubs.createStubUser(),
|
Loading…
Reference in a new issue