From 8c6b1aa69a5b91fdf55475133305b449d9adce5e Mon Sep 17 00:00:00 2001 From: Carlos Alcaide Corvo Date: Mon, 2 Dec 2024 09:02:44 -0800 Subject: [PATCH] Clean up auto-generated TODO comments (#2607) --- addons/api/tests/unit/services/indexed-db-test.js | 1 - addons/api/tests/unit/services/store-test.js | 1 - addons/core/tests/unit/initializers/deprecations-test.js | 1 - addons/core/tests/unit/services/clock-tick-test.js | 1 - .../tests/unit/instance-initializers/feature-edition-test.js | 2 +- ui/admin/tests/unit/services/feature-edition-test.js | 1 - ui/admin/tests/unit/services/session-test.js | 1 - ui/desktop/tests/integration/helpers/group-by-test.js | 1 - .../tests/unit/controllers/scopes/scope/authenticate-test.js | 1 - .../controllers/scopes/scope/projects/settings/index-test.js | 1 - ui/desktop/tests/unit/services/client-agent-sessions-test.js | 1 - ui/desktop/tests/unit/services/session-test.js | 1 - ui/desktop/tests/unit/services/store-test.js | 1 - 13 files changed, 1 insertion(+), 13 deletions(-) diff --git a/addons/api/tests/unit/services/indexed-db-test.js b/addons/api/tests/unit/services/indexed-db-test.js index 710e18b95..ffd3d62c6 100644 --- a/addons/api/tests/unit/services/indexed-db-test.js +++ b/addons/api/tests/unit/services/indexed-db-test.js @@ -12,7 +12,6 @@ class SessionService extends Service {} module('Unit | Service | indexed-db', function (hooks) { setupTest(hooks); - // TODO: Replace this with your real tests. test('it exists', function (assert) { this.owner.register('service:session', SessionService); diff --git a/addons/api/tests/unit/services/store-test.js b/addons/api/tests/unit/services/store-test.js index c7ee79d32..376db814d 100644 --- a/addons/api/tests/unit/services/store-test.js +++ b/addons/api/tests/unit/services/store-test.js @@ -9,7 +9,6 @@ import { setupTest } from 'dummy/tests/helpers'; module('Unit | Service | store', function (hooks) { setupTest(hooks); - // TODO: Replace this with your real tests. test('it exists', function (assert) { let service = this.owner.lookup('service:store'); assert.ok(service); diff --git a/addons/core/tests/unit/initializers/deprecations-test.js b/addons/core/tests/unit/initializers/deprecations-test.js index 1990dc4be..75a8dd62b 100644 --- a/addons/core/tests/unit/initializers/deprecations-test.js +++ b/addons/core/tests/unit/initializers/deprecations-test.js @@ -30,7 +30,6 @@ module('Unit | Initializer | deprecations', function (hooks) { run(this.application, 'destroy'); }); - // TODO: Replace this with your real tests. test('it works', async function (assert) { await this.application.boot(); diff --git a/addons/core/tests/unit/services/clock-tick-test.js b/addons/core/tests/unit/services/clock-tick-test.js index d8865e9bc..c6ce23a0d 100644 --- a/addons/core/tests/unit/services/clock-tick-test.js +++ b/addons/core/tests/unit/services/clock-tick-test.js @@ -9,7 +9,6 @@ import { setupTest } from 'ember-qunit'; module('Unit | Service | clock-tick', function (hooks) { setupTest(hooks); - // TODO: Replace this with your real tests. test('it exists', function (assert) { let service = this.owner.lookup('service:clock-tick'); assert.ok(service); diff --git a/ui/admin/tests/unit/instance-initializers/feature-edition-test.js b/ui/admin/tests/unit/instance-initializers/feature-edition-test.js index b4da0e064..e00c8ba02 100644 --- a/ui/admin/tests/unit/instance-initializers/feature-edition-test.js +++ b/ui/admin/tests/unit/instance-initializers/feature-edition-test.js @@ -30,12 +30,12 @@ module('Unit | Instance Initializer | feature-edition', function (hooks) { this.instance = this.application.buildInstance(); }); + hooks.afterEach(function () { run(this.instance, 'destroy'); run(this.application, 'destroy'); }); - // TODO: Replace this with your real tests. test('it works', async function (assert) { await this.instance.boot(); diff --git a/ui/admin/tests/unit/services/feature-edition-test.js b/ui/admin/tests/unit/services/feature-edition-test.js index 9901dc9d3..913b95855 100644 --- a/ui/admin/tests/unit/services/feature-edition-test.js +++ b/ui/admin/tests/unit/services/feature-edition-test.js @@ -9,7 +9,6 @@ import { setupTest } from 'admin/tests/helpers'; module('Unit | Service | features', function (hooks) { setupTest(hooks); - // TODO: Replace this with your real tests. test('it exists', function (assert) { let service = this.owner.lookup('service:features'); assert.ok(service); diff --git a/ui/admin/tests/unit/services/session-test.js b/ui/admin/tests/unit/services/session-test.js index 9b53ab8f4..667431e4e 100644 --- a/ui/admin/tests/unit/services/session-test.js +++ b/ui/admin/tests/unit/services/session-test.js @@ -9,7 +9,6 @@ import { setupTest } from 'admin/tests/helpers'; module('Unit | Service | session', function (hooks) { setupTest(hooks); - // TODO: Replace this with your real tests. test('it exists', function (assert) { let service = this.owner.lookup('service:session'); assert.ok(service); diff --git a/ui/desktop/tests/integration/helpers/group-by-test.js b/ui/desktop/tests/integration/helpers/group-by-test.js index 8f7dde473..bfa6d5a04 100644 --- a/ui/desktop/tests/integration/helpers/group-by-test.js +++ b/ui/desktop/tests/integration/helpers/group-by-test.js @@ -11,7 +11,6 @@ import { hbs } from 'ember-cli-htmlbars'; module('Integration | Helper | group-by', function (hooks) { setupRenderingTest(hooks); - // TODO: Replace this with your real tests. test('it renders', async function (assert) { this.set('inputValue', [ { group: 'a', id: '1' }, diff --git a/ui/desktop/tests/unit/controllers/scopes/scope/authenticate-test.js b/ui/desktop/tests/unit/controllers/scopes/scope/authenticate-test.js index 97c3893ab..2a653225b 100644 --- a/ui/desktop/tests/unit/controllers/scopes/scope/authenticate-test.js +++ b/ui/desktop/tests/unit/controllers/scopes/scope/authenticate-test.js @@ -9,7 +9,6 @@ import { setupTest } from 'ember-qunit'; module('Unit | Controller | scopes/scope/authenticate', function (hooks) { setupTest(hooks); - // TODO: Replace this with your real tests. test('it exists', function (assert) { let controller = this.owner.lookup('controller:scopes/scope/authenticate'); assert.ok(controller); diff --git a/ui/desktop/tests/unit/controllers/scopes/scope/projects/settings/index-test.js b/ui/desktop/tests/unit/controllers/scopes/scope/projects/settings/index-test.js index c642cd49f..91081e375 100644 --- a/ui/desktop/tests/unit/controllers/scopes/scope/projects/settings/index-test.js +++ b/ui/desktop/tests/unit/controllers/scopes/scope/projects/settings/index-test.js @@ -11,7 +11,6 @@ module( function (hooks) { setupTest(hooks); - // TODO: Replace this with your real tests. test('it exists', function (assert) { let controller = this.owner.lookup( 'controller:scopes/scope/projects/settings/index', diff --git a/ui/desktop/tests/unit/services/client-agent-sessions-test.js b/ui/desktop/tests/unit/services/client-agent-sessions-test.js index 18771d60b..864a93c22 100644 --- a/ui/desktop/tests/unit/services/client-agent-sessions-test.js +++ b/ui/desktop/tests/unit/services/client-agent-sessions-test.js @@ -9,7 +9,6 @@ import { setupTest } from 'desktop/tests/helpers'; module('Unit | Service | client-agent-sessions', function (hooks) { setupTest(hooks); - // TODO: Replace this with your real tests. test('it exists', function (assert) { let service = this.owner.lookup('service:client-agent-sessions'); assert.ok(service); diff --git a/ui/desktop/tests/unit/services/session-test.js b/ui/desktop/tests/unit/services/session-test.js index 9f7b49d1b..84dfbdfc7 100644 --- a/ui/desktop/tests/unit/services/session-test.js +++ b/ui/desktop/tests/unit/services/session-test.js @@ -9,7 +9,6 @@ import { setupTest } from 'desktop/tests/helpers'; module('Unit | Service | session', function (hooks) { setupTest(hooks); - // TODO: Replace this with your real tests. test('it exists', function (assert) { let service = this.owner.lookup('service:session'); assert.ok(service); diff --git a/ui/desktop/tests/unit/services/store-test.js b/ui/desktop/tests/unit/services/store-test.js index 680c942f5..3e6e8e814 100644 --- a/ui/desktop/tests/unit/services/store-test.js +++ b/ui/desktop/tests/unit/services/store-test.js @@ -9,7 +9,6 @@ import { setupTest } from 'desktop/tests/helpers'; module('Unit | Service | store', function (hooks) { setupTest(hooks); - // TODO: Replace this with your real tests. test('it exists', function (assert) { let service = this.owner.lookup('service:store'); assert.ok(service);