DEV: Fix a function name typo (#17828)

Co-authored-by: Osama Sayegh <asooomaasoooma90@gmail.com>
This commit is contained in:
Jarek Radosz 2022-08-08 18:50:39 +02:00 committed by GitHub
parent 00b3f0e2c4
commit f7e7f9a6a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ export function registerNotificationTypeRenderer(notificationType, func) {
_customClassForType[notificationType] = func(NotificationItemBase);
}
export function resetRenderDirectorForNotifictaionTypes() {
export function resetNotificationTypeRenderers() {
_customClassForType = {};
}

View File

@ -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) {