mirror of
https://github.com/Redocly/redoc.git
synced 2025-11-14 22:55:15 +03:00
10 lines
265 B
TypeScript
10 lines
265 B
TypeScript
import * as Enzyme from 'enzyme';
|
|
import Adapter from '@cfaester/enzyme-adapter-react-18';
|
|
import { TextEncoder, TextDecoder } from 'util';
|
|
|
|
Object.assign(global, { TextDecoder, TextEncoder });
|
|
|
|
import 'raf/polyfill';
|
|
|
|
Enzyme.configure({ adapter: new Adapter() });
|