github.com/outbrain/consul@v1.4.5/ui-v2/tests/unit/models/service-test.js (about) 1 import { module, test } from 'qunit'; 2 import { setupTest } from 'ember-qunit'; 3 import { run } from '@ember/runloop'; 4 5 module('Unit | Model | service', function(hooks) { 6 setupTest(hooks); 7 8 // Replace this with your real tests. 9 test('it exists', function(assert) { 10 let store = this.owner.lookup('service:store'); 11 let model = run(() => store.createRecord('service', {})); 12 assert.ok(model); 13 }); 14 });