1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-01 00:08:27 +01:00
unleash.unleash/frontend/src/setupTests.ts

16 lines
273 B
TypeScript
Raw Normal View History

import '@testing-library/jest-dom';
import 'whatwg-fetch';
import 'regenerator-runtime';
2018-02-16 20:45:05 +01:00
class ResizeObserver {
observe() {}
unobserve() {}
disconnect() {}
}
if (!window.ResizeObserver) {
window.ResizeObserver = ResizeObserver;
}
process.env.TZ = 'UTC';