refactor: depreciate enzyme

move unit test from enzyme to RTL

VAN-1792
This commit is contained in:
mubbsharanwar
2024-01-16 10:24:20 +05:00
committed by Mubbshar Anwar
parent b9b4492de9
commit 2ea9301c5e
7 changed files with 85 additions and 397 deletions

View File

@@ -3,10 +3,7 @@
import { getConfig } from '@edx/frontend-platform';
import { configure as configureLogging } from '@edx/frontend-platform/logging';
import Adapter from '@wojtekmaj/enzyme-adapter-react-17';
import Enzyme from 'enzyme';
Enzyme.configure({ adapter: new Adapter() });
class MockLoggingService {
logInfo = jest.fn();