From 08d0fd548bdca782acfc4437da5db8c63a314645 Mon Sep 17 00:00:00 2001 From: Vitaly Rtishchev Date: Sun, 5 Nov 2023 17:29:22 +0400 Subject: [PATCH] Fix incorrect import in jest setup --- jest.setup.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jest.setup.cjs b/jest.setup.cjs index 3f54e0a..2f5c44d 100644 --- a/jest.setup.cjs +++ b/jest.setup.cjs @@ -1,4 +1,4 @@ -import '@testing-library/jest-dom'; +require('@testing-library/jest-dom'); const { getComputedStyle } = window; window.getComputedStyle = (elt) => getComputedStyle(elt);