mirror of
https://github.com/discourse/discourse.git
synced 2024-12-22 10:33:46 +08:00
DEV: Remove empty beforeEach
hooks (#30326)
This commit is contained in:
parent
086b1e82e4
commit
af8c98217a
|
@ -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) {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user