mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 17:40:23 +03:00
8 lines
317 B
TypeScript
8 lines
317 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 = () => {};
|
|
(global as any).prompt = () => {};
|
|
(global as any).matchMedia = (media: string) => ({ matches: false, media });
|