Skip to content

Commit

Permalink
refactor: Removed technical risks in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ijlee2 committed Nov 11, 2024
1 parent c6ebeb0 commit 7d84524
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 15 deletions.
4 changes: 2 additions & 2 deletions tests/integration/helpers/did-insert-helper-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { render } from '@ember/test-helpers';
import { setupRenderingTest } from 'ember-qunit';
import { module, test } from 'qunit';

import hbs from 'htmlbars-inline-precompile';
import { hbs } from 'ember-cli-htmlbars';

import { TestContext } from 'dummy/tests/helpers/test-context';
import type { TestContext } from 'dummy/tests/helpers/test-context';

module('Integration | Helper | did-insert-helper', function (hooks) {
setupRenderingTest(hooks);
Expand Down
5 changes: 2 additions & 3 deletions tests/integration/helpers/did-insert-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@ import { module, test } from 'qunit';
import { getProperties, set } from '@ember/object';
import { run } from '@ember/runloop';

import { hbs } from 'ember-cli-htmlbars';
import {
PositionalParameters,
NamedParameters
} from 'ember-render-helpers/types';

import hbs from 'htmlbars-inline-precompile';

import { TestContext } from 'dummy/tests/helpers/test-context';
import type { TestContext } from 'dummy/tests/helpers/test-context';

module('Integration | Helper | did-insert', function (hooks) {
setupRenderingTest(hooks);
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/helpers/did-update-helper-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { render } from '@ember/test-helpers';
import { setupRenderingTest } from 'ember-qunit';
import { module, test } from 'qunit';

import hbs from 'htmlbars-inline-precompile';
import { hbs } from 'ember-cli-htmlbars';

import { TestContext } from 'dummy/tests/helpers/test-context';
import type { TestContext } from 'dummy/tests/helpers/test-context';

module('Integration | Helper | did-update-helper', function (hooks) {
setupRenderingTest(hooks);
Expand Down
5 changes: 2 additions & 3 deletions tests/integration/helpers/did-update-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@ import { module, test } from 'qunit';
import { getProperties, set } from '@ember/object';
import { run } from '@ember/runloop';

import { hbs } from 'ember-cli-htmlbars';
import {
PositionalParameters,
NamedParameters
} from 'ember-render-helpers/types';

import hbs from 'htmlbars-inline-precompile';

import { TestContext } from 'dummy/tests/helpers/test-context';
import type { TestContext } from 'dummy/tests/helpers/test-context';

module('Integration | Helper | did-update', function (hooks) {
setupRenderingTest(hooks);
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/helpers/will-destroy-helper-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { render } from '@ember/test-helpers';
import { setupRenderingTest } from 'ember-qunit';
import { module, test } from 'qunit';

import hbs from 'htmlbars-inline-precompile';
import { hbs } from 'ember-cli-htmlbars';

import { TestContext } from 'dummy/tests/helpers/test-context';
import type { TestContext } from 'dummy/tests/helpers/test-context';

module('Integration | Helper | will-destroy-helper', function (hooks) {
setupRenderingTest(hooks);
Expand Down
5 changes: 2 additions & 3 deletions tests/integration/helpers/will-destroy-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@ import { module, test } from 'qunit';
import { getProperties, set } from '@ember/object';
import { run } from '@ember/runloop';

import { hbs } from 'ember-cli-htmlbars';
import {
PositionalParameters,
NamedParameters
} from 'ember-render-helpers/types';

import hbs from 'htmlbars-inline-precompile';

import { TestContext } from 'dummy/tests/helpers/test-context';
import type { TestContext } from 'dummy/tests/helpers/test-context';

module('Integration | Helper | will-destroy', function (hooks) {
setupRenderingTest(hooks);
Expand Down

0 comments on commit 7d84524

Please sign in to comment.