Files
threshold-ui/addons/core/tests/unit/services/scope-test.js
T
Susmitha Girumala 68107589bb refactor: Scope service into core addon and desktop routes
Ensure top-level scopes route within ui/admin and ui/desktop are exactly
the same in preparation for future refactor.

feat: Add projects/targets route

chore: yarn:format output in ui/desktop

test: Add basic acceptance tests for projects and targets
2020-11-23 16:22:34 -05:00

19 lines
564 B
JavaScript

import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
module('Unit | Service | scope', function (hooks) {
setupTest(hooks);
test('it can contain org scope', function (assert) {
let service = this.owner.lookup('service:scope');
service.org = {};
assert.ok(service.org, 'Service contains org scope');
});
test('it can contain project scope', function (assert) {
let service = this.owner.lookup('service:scope');
service.project = {};
assert.ok(service.project, 'Service contains project scope');
});
});