DEV: Clean up imports (#28060)

* `@ember/owner` instead of `@ember/application`
* `discourse-i18n` instead of `I18n`
* `{ service } from "@ember/service"` instead of `inject as service`
This commit is contained in:
Jarek Radosz
2024-07-25 15:09:06 +02:00
committed by GitHub
parent c4845acf5e
commit 038e5deb2a
269 changed files with 280 additions and 280 deletions

View File

@ -1,4 +1,4 @@
import { getOwner } from "@ember/application";
import { getOwner } from "@ember/owner";
import { click, render } from "@ember/test-helpers";
import { hbs } from "ember-cli-htmlbars";
import { module, test } from "qunit";

View File

@ -1,4 +1,4 @@
import { getOwner } from "@ember/application";
import { getOwner } from "@ember/owner";
import { render } from "@ember/test-helpers";
import { hbs } from "ember-cli-htmlbars";
import { module, test } from "qunit";

View File

@ -1,4 +1,4 @@
import { getOwner } from "@ember/application";
import { getOwner } from "@ember/owner";
import { render } from "@ember/test-helpers";
import { hbs } from "ember-cli-htmlbars";
import { module, test } from "qunit";

View File

@ -1,4 +1,4 @@
import { getOwner } from "@ember/application";
import { getOwner } from "@ember/owner";
import { render } from "@ember/test-helpers";
import { hbs } from "ember-cli-htmlbars";
import { module, test } from "qunit";

View File

@ -1,4 +1,4 @@
import { getOwner } from "@ember/application";
import { getOwner } from "@ember/owner";
import { render } from "@ember/test-helpers";
import { hbs } from "ember-cli-htmlbars";
import { module, test } from "qunit";

View File

@ -1,4 +1,4 @@
import { getOwner } from "@ember/application";
import { getOwner } from "@ember/owner";
import { render } from "@ember/test-helpers";
import { hbs } from "ember-cli-htmlbars";
import { module, test } from "qunit";

View File

@ -1,4 +1,4 @@
import { getOwner } from "@ember/application";
import { getOwner } from "@ember/owner";
import { fillIn, render } from "@ember/test-helpers";
import { hbs } from "ember-cli-htmlbars";
import { module, test } from "qunit";

View File

@ -1,4 +1,4 @@
import { getOwner } from "@ember/application";
import { getOwner } from "@ember/owner";
import { render } from "@ember/test-helpers";
import { hbs } from "ember-cli-htmlbars";
import { module, test } from "qunit";

View File

@ -1,4 +1,4 @@
import { getOwner } from "@ember/application";
import { getOwner } from "@ember/owner";
import { fillIn, render } from "@ember/test-helpers";
import { hbs } from "ember-cli-htmlbars";
import { module, test } from "qunit";

View File

@ -1,4 +1,4 @@
import { getOwner } from "@ember/application";
import { getOwner } from "@ember/owner";
import { click, fillIn, render } from "@ember/test-helpers";
import { hbs } from "ember-cli-htmlbars";
import { module, test } from "qunit";

View File

@ -1,4 +1,4 @@
import { getOwner } from "@ember/application";
import { getOwner } from "@ember/owner";
import { fillIn, render } from "@ember/test-helpers";
import { hbs } from "ember-cli-htmlbars";
import { module, test } from "qunit";

View File

@ -1,4 +1,4 @@
import { getOwner } from "@ember/application";
import { getOwner } from "@ember/owner";
import { render } from "@ember/test-helpers";
import { hbs } from "ember-cli-htmlbars";
import { module, test } from "qunit";

View File

@ -1,4 +1,4 @@
import { getOwner } from "@ember/application";
import { getOwner } from "@ember/owner";
import { fillIn, render } from "@ember/test-helpers";
import { hbs } from "ember-cli-htmlbars";
import { module, test } from "qunit";

View File

@ -1,4 +1,4 @@
import { getOwner } from "@ember/application";
import { getOwner } from "@ember/owner";
import { render } from "@ember/test-helpers";
import { hbs } from "ember-cli-htmlbars";
import { module, test } from "qunit";

View File

@ -1,4 +1,4 @@
import { getOwner } from "@ember/application";
import { getOwner } from "@ember/owner";
import { render } from "@ember/test-helpers";
import { hbs } from "ember-cli-htmlbars";
import { module, test } from "qunit";

View File

@ -1,4 +1,4 @@
import { getOwner } from "@ember/application";
import { getOwner } from "@ember/owner";
import { render } from "@ember/test-helpers";
import { hbs } from "ember-cli-htmlbars";
import { module, test } from "qunit";

View File

@ -1,4 +1,4 @@
import { getOwner } from "@ember/application";
import { getOwner } from "@ember/owner";
import { render } from "@ember/test-helpers";
import { hbs } from "ember-cli-htmlbars";
import { module, test } from "qunit";