You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On #29, I tried to write a test that tests that the Tabs.onChange handler is called when changing tabs, but I'm running into an error in jest. This behavior only seems to happen under test so I'm going to punt on finishing this test later. Related:
TypeError: Cannot read properties of null (reading 'offsetHeight')
at setMeasurements (node_modules/@mui/material/node/Tabs/ScrollbarSize.js:40:47)
at node_modules/@mui/material/node/Tabs/ScrollbarSize.js:58:5
at commitHookEffectListMount (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12999:26)
at commitPassiveMountOnFiber (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14422:11)
at commitPassiveMountEffects_complete (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14382:9)
at commitPassiveMountEffects_begin (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14369:7)
at commitPassiveMountEffects (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14357:3)
at flushPassiveEffectsImpl (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16248:3)
at flushPassiveEffects (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16197:14)
at node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16012:9
at workLoop (node_modules/scheduler/cjs/scheduler.development.js:266:34)
at flushWork (node_modules/scheduler/cjs/scheduler.development.js:239:14)
at performWorkUntilDeadline (node_modules/scheduler/cjs/scheduler.development.js:533:21)
at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
The text was updated successfully, but these errors were encountered:
Issue created in MUI: mui/material-ui#41388
On #29, I tried to write a test that tests that the
Tabs.onChange
handler is called when changing tabs, but I'm running into an error in jest. This behavior only seems to happen under test so I'm going to punt on finishing this test later. Related:The text was updated successfully, but these errors were encountered: