From af8c98217a833cc4fff96e3434554d47a9239837 Mon Sep 17 00:00:00 2001 From: Isaac Janzen <50783505+janzenisaac@users.noreply.github.com> Date: Tue, 17 Dec 2024 11:57:49 -0600 Subject: [PATCH] DEV: Remove empty `beforeEach` hooks (#30326) --- .../integration/components/admin-config-area-card-test.gjs | 1 - .../chat/test/javascripts/components/chat-header-icon-test.js | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/app/assets/javascripts/discourse/tests/integration/components/admin-config-area-card-test.gjs b/app/assets/javascripts/discourse/tests/integration/components/admin-config-area-card-test.gjs index 408d7862fab..5bfa9ec5748 100644 --- a/app/assets/javascripts/discourse/tests/integration/components/admin-config-area-card-test.gjs +++ b/app/assets/javascripts/discourse/tests/integration/components/admin-config-area-card-test.gjs @@ -4,7 +4,6 @@ import { setupRenderingTest } from "discourse/tests/helpers/component-test"; import AdminConfigAreaCard from "admin/components/admin-config-area-card"; module("Integration | Component | AdminConfigAreaCard", function (hooks) { - hooks.beforeEach(function () {}); setupRenderingTest(hooks); test("renders admin config area card without toggle button", async function (assert) { diff --git a/plugins/chat/test/javascripts/components/chat-header-icon-test.js b/plugins/chat/test/javascripts/components/chat-header-icon-test.js index d61fea5bb5f..6233198e3cc 100644 --- a/plugins/chat/test/javascripts/components/chat-header-icon-test.js +++ b/plugins/chat/test/javascripts/components/chat-header-icon-test.js @@ -3,14 +3,12 @@ import { hbs } from "ember-cli-htmlbars"; import { module, test } from "qunit"; import sinon from "sinon"; import { setupRenderingTest } from "discourse/tests/helpers/component-test"; -import { i18n } from 'discourse-i18n'; +import { i18n } from "discourse-i18n"; import { HEADER_INDICATOR_PREFERENCE_ALL_NEW } from "discourse/plugins/chat/discourse/controllers/preferences-chat"; module("Discourse Chat | Component | chat-header-icon", function (hooks) { setupRenderingTest(hooks); - hooks.beforeEach(function () {}); - test("full page - never separated sidebar mode", async function (assert) { this.currentUser.user_option.chat_separate_sidebar_mode = "never"; sinon