1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-02 20:15:26 +02:00

[WIP] Upgrading EmberJS codemods

This commit is contained in:
Harvey Kandola 2018-12-08 15:39:31 +00:00
parent 4b68529090
commit 5cfbf07e55
8 changed files with 376 additions and 425 deletions

View file

@ -1,3 +1,4 @@
import { module, test } from 'qunit';
// Copyright 2016 Documize Inc. <legal@documize.com>. All rights reserved.
//
// This software (Documize Community Edition) is licensed under
@ -9,15 +10,14 @@
//
// https://documize.com
import { moduleFor, test } from 'ember-qunit';
import { setupTest } from 'ember-qunit';
moduleFor('service:local-storage', 'Unit | Service | local storage', {
// Specify the other units that are required for this test.
// needs: ['service:foo']
});
module('Unit | Service | local storage', function(hooks) {
setupTest(hooks);
// Replace this with your real tests.
test('it exists', function (assert) {
let service = this.subject();
assert.ok(service);
// Replace this with your real tests.
test('it exists', function (assert) {
let service = this.owner.lookup('service:local-storage');
assert.ok(service);
});
});