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

View file

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

View file

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