fix: incorrectly named plugin slots (#1388)

This commit is contained in:
Zachary Hancock
2024-05-16 10:24:27 -04:00
committed by GitHub
parent cc041ba348
commit f124c0d491
4 changed files with 6 additions and 6 deletions

View File

@@ -79,7 +79,7 @@ const NotificationTray = ({ intl }) => {
<div>{verifiedMode
? (
<PluginSlot
id="notification_tray_plugin"
id="notification_tray_slot"
pluginProps={{
courseId,
notificationCurrentState: upgradeNotificationCurrentState,

View File

@@ -81,7 +81,7 @@ describe('NotificationTray', () => {
.toBeInTheDocument();
});
it('includes notification_tray_plugin slot', async () => {
it('includes notification_tray_slot', async () => {
await fetchAndRender(
<SidebarContext.Provider value={{
currentSidebar: ID,
@@ -91,7 +91,7 @@ describe('NotificationTray', () => {
<NotificationTray />
</SidebarContext.Provider>,
);
expect(screen.getByTestId('notification_tray_plugin')).toBeInTheDocument();
expect(screen.getByTestId('notification_tray_slot')).toBeInTheDocument();
});
it('renders upgrade card', async () => {