DEV: Deprecate `discourseModule` (#30000)
We're now using QUnit's `module` directly in core and all plugins/themes.
This commit is contained in:
parent
52b7280ad4
commit
a2c8177a4c
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue