
describe('My module', () => {
  beforeEach(() => {
    myModule = injectLoaderCompatibility(
      __dirname,
      '../src/my-module.js',
      {
        'events': eventsMock,
        '../lib/dispatcher': dispatcherMock,
        '../lib/handle-action': handleActionMock
      }
    );
  });
});

import injector from 'inject!../src/my-module.js';

describe('My module', () => {
  beforeEach(() => {
    myModule = injector({
      'events': eventsMock,
      '../lib/dispatcher': dispatcherMock,
      '../lib/handle-action': handleActionMock
    });
  });
});

Undo applying macro to example
Undo applying macro to example
