Skip to content

Conversation

@Hristo313
Copy link
Contributor

@Hristo313 Hristo313 commented Feb 10, 2026

Part of #2230
Remove setupTests file and move it's logic to each test component

@coveralls
Copy link

coveralls commented Feb 10, 2026

Coverage Status

coverage: 70.369%. remained the same
when pulling 6ff17db on hhristov/move-test-setup-logic-for-react
into 7d0f2db on master.

import ResizeObserver from 'resize-observer-polyfill';

beforeAll(() => {
globalThis.ResizeObserver = ResizeObserver;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we abstract this repetitive logic (lines 7 - 12) into a util method and just call it everywhere needed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants