Skip to content

Commit

Permalink
chore(deps/ember): add ember-intl hooks to tests as required by v6
Browse files Browse the repository at this point in the history
  • Loading branch information
c0rydoras committed Oct 30, 2023
1 parent c73a423 commit 9e0a45c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ember/tests/integration/components/dependency-compact-test.js
Original file line number Diff line number Diff line change
@@ -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');
Expand Down
Original file line number Diff line number Diff line change
@@ -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(
Expand Down
2 changes: 2 additions & 0 deletions ember/tests/integration/components/project-compact-test.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
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-compact', function (hooks) {
setupRenderingTest(hooks);
setupMirage(hooks);
setupIntl(hooks);

test('it renders correctly', async function (assert) {
const project = this.server.create('project', 'withVersions');
Expand Down
2 changes: 2 additions & 0 deletions ember/tests/integration/components/project-detailed-test.js
Original file line number Diff line number Diff line change
@@ -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');
Expand Down

0 comments on commit 9e0a45c

Please sign in to comment.