From a2c8177a4cef278d2a61d7b61fd32c3f0625df61 Mon Sep 17 00:00:00 2001 From: Jarek Radosz Date: Fri, 29 Nov 2024 20:08:52 +0100 Subject: [PATCH] DEV: Deprecate `discourseModule` (#30000) We're now using QUnit's `module` directly in core and all plugins/themes. --- .../javascripts/discourse/tests/helpers/qunit-helpers.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/discourse/tests/helpers/qunit-helpers.js b/app/assets/javascripts/discourse/tests/helpers/qunit-helpers.js index dbb3660f975..3957c35a167 100644 --- a/app/assets/javascripts/discourse/tests/helpers/qunit-helpers.js +++ b/app/assets/javascripts/discourse/tests/helpers/qunit-helpers.js @@ -268,10 +268,10 @@ function cleanupCssGeneratorTags() { } export function discourseModule(name, options) { - // deprecated( - // `${name}: \`discourseModule\` is deprecated. Use QUnit's \`module\` instead.`, - // { since: "2.6.0" } - // ); + deprecated( + `${name}: \`discourseModule\` is deprecated. Use QUnit's \`module\` instead.`, + { id: "discourse.discourse-module", since: "3.4.0.beta3-dev" } + ); if (typeof options === "function") { module(name, function (hooks) {