hooks.beforeEach(function() { Orbit.Promise = Ember.RSVP.Promise; const models = { planet: Planet, moon: Moon, star: Star }; store = createStore({ models }); schema = store.get('schema'); });
hooks.beforeEach(function() { // this shouldn't be necessary, however for some reason Orbit.Promise is set to // null at a seemingly random point through the cache tests (usually it occurs after 3-5 tests) Orbit.Promise = Ember.RSVP.Promise; const models = { planet: Planet, moon: Moon, star: Star }; store = createStore({ models }); cache = store.get('cache'); });
hooks.beforeEach(function() { store = createStore({ models }); });
hooks.beforeEach(function() { const models = { planet: Planet, moon: Moon, star: Star }; store = createStore({ models }); });