Skip to content

Commit

Permalink
fix: import waitFor from a proper source
Browse files Browse the repository at this point in the history
  • Loading branch information
bra-i-am committed May 17, 2024
1 parent 1ac58db commit f0d990f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/courseware/CoursewareContainer.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { getAuthenticatedHttpClient } from '@edx/frontend-platform/auth';
import { AppProvider } from '@edx/frontend-platform/react';
import { waitForElementToBeRemoved, fireEvent } from '@testing-library/dom';
import '@testing-library/jest-dom/extend-expect';
import { render, screen, waitFor } from '@testing-library/react';
import { render, screen } from '@testing-library/react';
import React from 'react';
import {
BrowserRouter, MemoryRouter, Route, Routes,
Expand All @@ -13,7 +13,7 @@ import MockAdapter from 'axios-mock-adapter';

import { UserMessagesProvider } from '../generic/user-messages';
import tabMessages from '../tab-page/messages';
import { initializeMockApp } from '../setupTest';
import { initializeMockApp, waitFor } from '../setupTest';
import { DECODE_ROUTES } from '../constants';

import CoursewareContainer from './CoursewareContainer';
Expand Down

0 comments on commit f0d990f

Please sign in to comment.