mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-23 23:24:39 +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' ),
|
||||
renderer = require( './renderer' ),
|
||||
createExperiments = require( './experiments' ),
|
||||
statsvInstrumentation = require( './statsvInstrumentation' ),
|
||||
eventLoggingInstrumentation = require( './schema' ),
|
||||
statsvInstrumentation = require( './instrumentation/statsv' ),
|
||||
eventLoggingInstrumentation = require( './instrumentation/eventLogging' ),
|
||||
|
||||
changeListeners = require( './changeListeners' ),
|
||||
actions = require( './actions' ),
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
var isEnabled = require( '../../src/schema' ).isEnabled,
|
||||
stubs = require( './stubs' );
|
||||
var isEnabled = require( '../../../src/instrumentation/eventLogging' ).isEnabled,
|
||||
stubs = require( '../stubs' );
|
||||
|
||||
QUnit.module( 'ext.popups/schema', {
|
||||
QUnit.module( 'ext.popups/instrumentation/eventLogging', {
|
||||
beforeEach: function () {
|
||||
this.config = stubs.createStubMap();
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
var stubs = require( './stubs' ),
|
||||
statsv = require( '../../src/statsvInstrumentation' );
|
||||
var stubs = require( './../stubs' ),
|
||||
statsv = require( '../../../src/instrumentation/statsv' );
|
||||
|
||||
QUnit.module( 'ext.popups/statsvInstrumentation' );
|
||||
QUnit.module( 'ext.popups/instrumentation/statsv' );
|
||||
|
||||
QUnit.test( '#isEnabled', function ( assert ) {
|
||||
var user = stubs.createStubUser(),
|
Loading…
Reference in a new issue