shlink-web-client/config/jest/setupTests.ts
2022-05-06 20:13:51 +02:00

6 lines
205 B
TypeScript

import '@testing-library/jest-dom';
import 'jest-canvas-mock';
import ResizeObserver from 'resize-observer-polyfill';
(global as any).ResizeObserver = ResizeObserver;
(global as any).scrollTo = () => {};