From 9e0a45cd6948485833df8709f754b195a46069ee Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Mon, 30 Oct 2023 15:03:32 +0100 Subject: [PATCH] chore(deps/ember): add ember-intl hooks to tests as required by v6 --- ember/tests/integration/components/dependency-compact-test.js | 2 ++ ember/tests/integration/components/dependency-detailed-test.js | 2 ++ ember/tests/integration/components/project-compact-test.js | 2 ++ ember/tests/integration/components/project-detailed-test.js | 2 ++ 4 files changed, 8 insertions(+) diff --git a/ember/tests/integration/components/dependency-compact-test.js b/ember/tests/integration/components/dependency-compact-test.js index 6c757313..7c1561c9 100644 --- a/ember/tests/integration/components/dependency-compact-test.js +++ b/ember/tests/integration/components/dependency-compact-test.js @@ -1,12 +1,14 @@ import { render } from '@ember/test-helpers'; import { hbs } from 'ember-cli-htmlbars'; import { setupMirage } from 'ember-cli-mirage/test-support'; +import { setupIntl } from 'ember-intl/test-support'; import { module, test } from 'qunit'; import { setupRenderingTest } from 'outdated/tests/helpers'; module('Integration | Component | dependency-compact', function (hooks) { setupRenderingTest(hooks); setupMirage(hooks); + setupIntl(hooks); test('it renders correctly with a version', async function (assert) { const store = this.owner.lookup('service:store'); diff --git a/ember/tests/integration/components/dependency-detailed-test.js b/ember/tests/integration/components/dependency-detailed-test.js index d5a20b26..eda53bd7 100644 --- a/ember/tests/integration/components/dependency-detailed-test.js +++ b/ember/tests/integration/components/dependency-detailed-test.js @@ -1,12 +1,14 @@ import { render } from '@ember/test-helpers'; import { hbs } from 'ember-cli-htmlbars'; import { setupMirage } from 'ember-cli-mirage/test-support'; +import { setupIntl } from 'ember-intl/test-support'; import { module, test } from 'qunit'; import { setupRenderingTest } from 'outdated/tests/helpers'; module('Integration | Component | dependency-detailed', function (hooks) { setupRenderingTest(hooks); setupMirage(hooks); + setupIntl(hooks); test('it renders correctly', async function (assert) { const store = this.owner.lookup('service:store'); this.version = await store.findRecord( diff --git a/ember/tests/integration/components/project-compact-test.js b/ember/tests/integration/components/project-compact-test.js index 161593e6..df438ea0 100644 --- a/ember/tests/integration/components/project-compact-test.js +++ b/ember/tests/integration/components/project-compact-test.js @@ -1,6 +1,7 @@ import { render, settled } from '@ember/test-helpers'; import { hbs } from 'ember-cli-htmlbars'; import { setupMirage } from 'ember-cli-mirage/test-support'; +import { setupIntl } from 'ember-intl/test-support'; import { module, test } from 'qunit'; import { setupRenderingTest } from 'outdated/tests/helpers'; @@ -8,6 +9,7 @@ import { setupRenderingTest } from 'outdated/tests/helpers'; module('Integration | Component | project-compact', function (hooks) { setupRenderingTest(hooks); setupMirage(hooks); + setupIntl(hooks); test('it renders correctly', async function (assert) { const project = this.server.create('project', 'withVersions'); diff --git a/ember/tests/integration/components/project-detailed-test.js b/ember/tests/integration/components/project-detailed-test.js index 4a7f38f2..9da30606 100644 --- a/ember/tests/integration/components/project-detailed-test.js +++ b/ember/tests/integration/components/project-detailed-test.js @@ -1,12 +1,14 @@ import { render, settled } from '@ember/test-helpers'; import { hbs } from 'ember-cli-htmlbars'; import { setupMirage } from 'ember-cli-mirage/test-support'; +import { setupIntl } from 'ember-intl/test-support'; import { module, test } from 'qunit'; import { setupRenderingTest } from 'outdated/tests/helpers'; module('Integration | Component | project-detailed', function (hooks) { setupRenderingTest(hooks); setupMirage(hooks); + setupIntl(hooks); test('it renders correctly', async function (assert) { const project = await this.server.create('project', 'withVersions');