@targetprocess/tabs
v12.23.5-alpha.0
Published
### Testing
Downloads
1,097
Readme
@targetprocess/tabs
Testing
If your test environment is based on JSDOM, you will need to manually mock ResizeObserver
for tests that render tabs component:
// this can be in your jest.setup.js/beforeAll/other test env init script where JSDOM is available
window.ResizeObserver = class ResizeObserver {
observe() {}
unobserve() {}
disconnect() {}
}