Skip to content

Instantly share code, notes, and snippets.

@ldong
Created October 31, 2017 21:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ldong/31a340a47be585160603013b703b3647 to your computer and use it in GitHub Desktop.
Save ldong/31a340a47be585160603013b703b3647 to your computer and use it in GitHub Desktop.
//Stub mw service
const mwServiceStub = Ember.Service.extend({

});

moduleForComponent('base-grid-module', 'Unit | Component | base grid module', {
  // Specify the other units that are required for this test
  // needs: ['component:foo', 'helper:bar'],
  unit: true,
  beforeEach() {
    localStorageHelper(this);
    this.register('service:mw-service', mwServiceStub);
    this.inject.service('mw-service', { as: 'mwService' });
  }
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment