diff --git a/app/soapbox/features/notifications/components/__tests__/notification.test.tsx b/app/soapbox/features/notifications/components/__tests__/notification.test.tsx index eacca0f99..9c86474b7 100644 --- a/app/soapbox/features/notifications/components/__tests__/notification.test.tsx +++ b/app/soapbox/features/notifications/components/__tests__/notification.test.tsx @@ -1,11 +1,9 @@ import * as React from 'react'; -import { updateNotifications } from '../../../../actions/notifications'; -import { render, screen, rootState, createTestStore } from '../../../../jest/test-helpers'; -import { makeGetNotification } from '../../../../selectors'; -import Notification from '../notification'; +import { updateNotifications } from 'soapbox/actions/notifications'; +import { render, screen, rootState, createTestStore } from 'soapbox/jest/test-helpers'; -const getNotification = makeGetNotification(); +import Notification from '../notification'; /** Prepare the notification for use by the component */ const normalize = (notification: any) => { @@ -15,7 +13,7 @@ const normalize = (notification: any) => { return { // @ts-ignore - notification: getNotification(state, state.notifications.items.get(notification.id)), + notification: state.notifications.items.get(notification.id), state, }; };