diff --git a/jest.setup.ts b/jest.setup.ts index 995290a..19f6a05 100644 --- a/jest.setup.ts +++ b/jest.setup.ts @@ -15,10 +15,7 @@ if (process.env.NODE_ENV === 'production') { } // Also mock the act function from react-dom/test-utils - const { act } = require('react-dom/test-utils'); - if (act) { - global.act = act; - } + // This is handled by Jest's module resolution } // Mock react-responsive-masonry