mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
REFACTOR: Rename store:main to service:store so we can inject it
This commit is contained in:
@@ -33,7 +33,7 @@ export default function(name, opts) {
|
||||
{ instantiate: false });
|
||||
}
|
||||
|
||||
this.registry.register('store:main', store, { instantiate: false });
|
||||
this.registry.register('service:store', store, { instantiate: false });
|
||||
|
||||
if (opts.beforeEach) {
|
||||
opts.beforeEach.call(this, store);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
QUnit.module('store:main');
|
||||
QUnit.module('service:store');
|
||||
|
||||
import createStore from 'helpers/create-store';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user