Fix incorrect import in jest setup

This commit is contained in:
Vitaly Rtishchev
2023-11-05 17:29:22 +04:00
parent 1e771619d7
commit 08d0fd548b

View File

@ -1,4 +1,4 @@
import '@testing-library/jest-dom';
require('@testing-library/jest-dom');
const { getComputedStyle } = window;
window.getComputedStyle = (elt) => getComputedStyle(elt);