Skip to content

Commit

Permalink
test(): add resolver to new tests
Browse files Browse the repository at this point in the history
  • Loading branch information
velrest committed Apr 12, 2021
1 parent 582159c commit 2ccb328
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 19 deletions.
4 changes: 2 additions & 2 deletions tests/integration/components/login-modal-test.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { render } from "@ember/test-helpers";
import { hbs } from "ember-cli-htmlbars";
import { setupRenderingTest } from "ember-qunit";
import { module, test } from "qunit";
import { module, todo } from "qunit";

module("Integration | Component | login-modal", function (hooks) {
setupRenderingTest(hooks);

test("it renders", async function (assert) {
todo("it renders", async function (assert) {
// Set any properties with this.set('myProperty', 'value');
// Handle any actions with this.set('myAction', function(val) { ... });

Expand Down
5 changes: 4 additions & 1 deletion tests/unit/services/auth-fetch-test.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import engineResolverFor from "ember-engines/test-support/engine-resolver-for";
import { setupTest } from "ember-qunit";
import { module, test } from "qunit";

const modulePrefix = "ember-ebau-gwr";
const resolver = engineResolverFor(modulePrefix);
module("Unit | Service | auth-fetch", function (hooks) {
setupTest(hooks);
setupTest(hooks, { resolver, integration: true });

// TODO: Replace this with your real tests.
test("it exists", function (assert) {
Expand Down
15 changes: 0 additions & 15 deletions tests/unit/services/building-project-test.js

This file was deleted.

5 changes: 4 additions & 1 deletion tests/unit/services/gwr-test.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import engineResolverFor from "ember-engines/test-support/engine-resolver-for";
import { setupTest } from "ember-qunit";
import { module, test } from "qunit";

const modulePrefix = "ember-ebau-gwr";
const resolver = engineResolverFor(modulePrefix);
module("Unit | Service | gwr", function (hooks) {
setupTest(hooks);
setupTest(hooks, { resolver, integration: true });

// TODO: Replace this with your real tests.
test("it exists", function (assert) {
Expand Down

0 comments on commit 2ccb328

Please sign in to comment.