DEV: Fix a function name typo (#17828)
Co-authored-by: Osama Sayegh <asooomaasoooma90@gmail.com>
This commit is contained in:
parent
00b3f0e2c4
commit
f7e7f9a6a7
|
@ -34,7 +34,7 @@ export function registerNotificationTypeRenderer(notificationType, func) {
|
|||
_customClassForType[notificationType] = func(NotificationItemBase);
|
||||
}
|
||||
|
||||
export function resetRenderDirectorForNotifictaionTypes() {
|
||||
export function resetNotificationTypeRenderers() {
|
||||
_customClassForType = {};
|
||||
}
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ import {
|
|||
import { clearTagsHtmlCallbacks } from "discourse/lib/render-tags";
|
||||
import { clearToolbarCallbacks } from "discourse/components/d-editor";
|
||||
import { resetSidebarSection } from "discourse/lib/sidebar/custom-sections";
|
||||
import { resetRenderDirectorForNotifictaionTypes } from "discourse/lib/notification-item";
|
||||
import { resetNotificationTypeRenderers } from "discourse/lib/notification-item";
|
||||
|
||||
export function currentUser() {
|
||||
return User.create(sessionFixtures["/session/current.json"].current_user);
|
||||
|
@ -201,7 +201,7 @@ export function testCleanup(container, app) {
|
|||
clearTagsHtmlCallbacks();
|
||||
clearToolbarCallbacks();
|
||||
resetSidebarSection();
|
||||
resetRenderDirectorForNotifictaionTypes();
|
||||
resetNotificationTypeRenderers();
|
||||
}
|
||||
|
||||
export function discourseModule(name, options) {
|
||||
|
|
Loading…
Reference in New Issue