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:
Sam Smith 2017-06-15 13:15:46 +01:00
parent 67eb3b1dcf
commit dcf8532cdf
7 changed files with 8 additions and 8 deletions

Binary file not shown.

Binary file not shown.

View file

@ -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' ),

View file

@ -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();

View file

@ -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(),