Skip to content

Commit

Permalink
DESENG-666 Fix test issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Baelx committed Aug 13, 2024
1 parent 1d86b4b commit a7d5371
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { render, waitFor, screen } from '@testing-library/react';
import React, { ReactNode } from 'react';
import '@testing-library/jest-dom';
import EngagementView from 'components/engagement/view';
import EngagementView from 'components/engagement/old-view';
import { Contact } from 'models/contact';
import { setupEnv } from '../setEnvVars';
import * as reactRedux from 'react-redux';
Expand Down
2 changes: 1 addition & 1 deletion met-web/tests/unit/components/scheduleModal.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as reactRedux from 'react-redux';
import * as notificationSlice from 'services/notificationService/notificationSlice';
import '@testing-library/jest-dom';
import { setupEnv } from './setEnvVars';
import ScheduleModal from 'components/engagement/view/ScheduleModal';
import ScheduleModal from 'components/engagement/old-view/ScheduleModal';
import ProviderShell from './ProviderShell';

jest.mock('@reduxjs/toolkit/query/react', () => ({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { act, render, waitFor, fireEvent, screen } from '@testing-library/react';
import '@testing-library/jest-dom';
import PollWidgetView from 'components/engagement/view/widgets/Poll/PollWidgetView';
import PollWidgetView from 'components/engagement/old-view/widgets/Poll/PollWidgetView';
import * as widgetService from 'services/widgetService/PollService';
import * as notificationService from 'services/notificationService/notificationSlice';
import * as reactRedux from 'react-redux';
Expand Down

0 comments on commit a7d5371

Please sign in to comment.