From a9d71d02698d68aa3603c8f70a831fbd85493bf9 Mon Sep 17 00:00:00 2001 From: simonihmig Date: Wed, 6 Mar 2019 19:51:18 +0100 Subject: [PATCH] Initializer blueprint: remove setupTest() As it is not needed, see https://github.com/emberjs/ember.js/pull/17411#discussion_r263048203 --- .../__root__/__testType__/__path__/__name__-test.js | 2 -- .../fixtures/initializer-test/module-unification/rfc232.js | 2 -- node-tests/fixtures/initializer-test/rfc232.js | 2 -- 3 files changed, 6 deletions(-) diff --git a/blueprints/initializer-test/qunit-rfc-232-files/__root__/__testType__/__path__/__name__-test.js b/blueprints/initializer-test/qunit-rfc-232-files/__root__/__testType__/__path__/__name__-test.js index 8fae99adfc9..7e0fcb0670d 100644 --- a/blueprints/initializer-test/qunit-rfc-232-files/__root__/__testType__/__path__/__name__-test.js +++ b/blueprints/initializer-test/qunit-rfc-232-files/__root__/__testType__/__path__/__name__-test.js @@ -6,8 +6,6 @@ import { setupTest } from 'ember-qunit'; <% if (destroyAppExists) { %>import destroyApp from '../../helpers/destroy-app';<% } else { %>import { run } from '@ember/runloop';<% } %> module('<%= friendlyTestName %>', function(hooks) { - setupTest(hooks); - hooks.beforeEach(function() { this.TestApplication = Application.extend(); this.TestApplication.initializer({ diff --git a/node-tests/fixtures/initializer-test/module-unification/rfc232.js b/node-tests/fixtures/initializer-test/module-unification/rfc232.js index 53bb30f1a81..f9fe388ab4d 100644 --- a/node-tests/fixtures/initializer-test/module-unification/rfc232.js +++ b/node-tests/fixtures/initializer-test/module-unification/rfc232.js @@ -6,8 +6,6 @@ import { setupTest } from 'ember-qunit'; import { run } from '@ember/runloop'; module('Unit | Initializer | foo', function(hooks) { - setupTest(hooks); - hooks.beforeEach(function() { this.TestApplication = Application.extend(); this.TestApplication.initializer({ diff --git a/node-tests/fixtures/initializer-test/rfc232.js b/node-tests/fixtures/initializer-test/rfc232.js index 9a45208e1ab..b69df4288c0 100644 --- a/node-tests/fixtures/initializer-test/rfc232.js +++ b/node-tests/fixtures/initializer-test/rfc232.js @@ -6,8 +6,6 @@ import { setupTest } from 'ember-qunit'; import { run } from '@ember/runloop'; module('Unit | Initializer | foo', function(hooks) { - setupTest(hooks); - hooks.beforeEach(function() { this.TestApplication = Application.extend(); this.TestApplication.initializer({