Doenja
Results
2
comments of
Doenja
This workaround worked for me: `sample.spec.ts` ```js beforeEach(() => { Object.defineProperty(global, "ResizeObserver", { writable: true, value: jest.fn().mockImplementation(() => ({ observe: jest.fn(() => "Mocking works"), unobserve: jest.fn(), disconnect: jest.fn(), })), });...
Same issue. For me it was a folder called **switch** with an index.tsx. Renaming the folder solved the issue.