Skip to content

Commit

Permalink
Test fixture for MUI issue 41388 (#1)
Browse files Browse the repository at this point in the history
Demonstrating that the latest mui version still has the issue described
in mui/material-ui#41388.

### Test Results
```
➜  mui-test-fixture-41388 git:(test-fixture-latest) ✗ pnpm run test

> [email protected] test /Users/nicholefrey/Workspace/mui-test-fixture-41388
> jest

  console.error
    Error: Uncaught [TypeError: Cannot read properties of null (reading 'offsetHeight')]
        at reportException (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
        at invokeEventListeners (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12687:16)
        at invokeGuardedCallback (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12748:31)
        at reportUncaughtErrorInDEV (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12775:5)
        at captureCommitPhaseError (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16366:5)
        at commitPassiveMountEffects_complete (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14423:9)
        at commitPassiveMountEffects_begin (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14408:7)
        at commitPassiveMountEffects (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14396:3)
        at flushPassiveEffectsImpl (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16287:3)
        at flushPassiveEffects (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16236:14)
        at /Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16051:9
        at workLoop (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.development.js:266:34)
        at flushWork (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.development.js:239:14)
        at performWorkUntilDeadline (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.development.js:533:21)
        at Timeout.task [as _onTimeout] (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
        at listOnTimeout (node:internal/timers:573:17)
        at processTimers (node:internal/timers:514:7) {
      detail: TypeError: Cannot read properties of null (reading 'offsetHeight')
          at setMeasurements (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@mui[email protected]_@[email protected]_@[email protected][email protected]__@emotion+style_ddscnvx52uo2ovufgi3btuvqoe/node_modules/@mui/material/node/Tabs/ScrollbarSize.js:40:47)
          at /Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@mui[email protected]_@[email protected]_@[email protected][email protected]__@emotion+style_ddscnvx52uo2ovufgi3btuvqoe/node_modules/@mui/material/node/Tabs/ScrollbarSize.js:58:5
          at commitHookEffectListMount (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13038:26)
          at commitPassiveMountOnFiber (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14461:11)
          at commitPassiveMountEffects_complete (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14421:9)
          at commitPassiveMountEffects_begin (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14408:7)
          at commitPassiveMountEffects (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14396:3)
          at flushPassiveEffectsImpl (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16287:3)
          at flushPassiveEffects (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16236:14)
          at /Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16051:9
          at workLoop (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.development.js:266:34)
          at flushWork (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.development.js:239:14)
          at performWorkUntilDeadline (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.development.js:533:21)
          at Timeout.task [as _onTimeout] (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
          at listOnTimeout (node:internal/timers:573:17)
          at processTimers (node:internal/timers:514:7),
      type: 'unhandled exception'
    }

      at VirtualConsole.<anonymous> (node_modules/.pnpm/[email protected]/node_modules/jest-environment-jsdom/build/index.js:63:23)
      at reportException (node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
      at innerInvokeEventListeners (node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
      at invokeEventListeners (node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12687:16)
      at invokeGuardedCallback (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12748:31)
      at reportUncaughtErrorInDEV (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12775:5)
      at captureCommitPhaseError (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16366:5)
      at commitPassiveMountEffects_complete (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14423:9)
      at commitPassiveMountEffects_begin (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14408:7)
      at commitPassiveMountEffects (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14396:3)
      at flushPassiveEffectsImpl (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16287:3)
      at flushPassiveEffects (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16236:14)
      at node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16051:9
      at workLoop (node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.development.js:266:34)
      at flushWork (node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.development.js:239:14)
      at performWorkUntilDeadline (node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.development.js:533:21)
      at Timeout.task [as _onTimeout] (node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)

  console.error
    Error: Uncaught [TypeError: Failed to execute 'observe' on 'MutationObserver': parameter 1 is not of type 'Node'.]
        at reportException (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
        at invokeEventListeners (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12687:16)
        at invokeGuardedCallback (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12748:31)
        at reportUncaughtErrorInDEV (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12775:5)
        at captureCommitPhaseError (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16366:5)
        at commitPassiveMountEffects_complete (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14423:9)
        at commitPassiveMountEffects_begin (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14408:7)
        at commitPassiveMountEffects (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14396:3)
        at flushPassiveEffectsImpl (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16287:3)
        at flushPassiveEffects (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16236:14)
        at /Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16051:9
        at workLoop (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.development.js:266:34)
        at flushWork (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.development.js:239:14)
        at performWorkUntilDeadline (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.development.js:533:21)
        at Timeout.task [as _onTimeout] (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
        at listOnTimeout (node:internal/timers:573:17)
        at processTimers (node:internal/timers:514:7) {
      detail: TypeError: Failed to execute 'observe' on 'MutationObserver': parameter 1 is not of type 'Node'.
          at Object.exports.convert (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/generated/Node.js:25:9)
          at MutationObserver.observe (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/generated/MutationObserver.js:126:23)
          at /Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@mui[email protected]_@[email protected]_@[email protected][email protected]__@emotion+style_ddscnvx52uo2ovufgi3btuvqoe/node_modules/@mui/material/node/Tabs/Tabs.js:542:24
          at commitHookEffectListMount (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13038:26)
          at commitPassiveMountOnFiber (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14461:11)
          at commitPassiveMountEffects_complete (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14421:9)
          at commitPassiveMountEffects_begin (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14408:7)
          at commitPassiveMountEffects (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14396:3)
          at flushPassiveEffectsImpl (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16287:3)
          at flushPassiveEffects (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16236:14)
          at /Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16051:9
          at workLoop (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.development.js:266:34)
          at flushWork (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.development.js:239:14)
          at performWorkUntilDeadline (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.development.js:533:21)
          at Timeout.task [as _onTimeout] (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
          at listOnTimeout (node:internal/timers:573:17)
          at processTimers (node:internal/timers:514:7),
      type: 'unhandled exception'
    }

      at VirtualConsole.<anonymous> (node_modules/.pnpm/[email protected]/node_modules/jest-environment-jsdom/build/index.js:63:23)
      at reportException (node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
      at innerInvokeEventListeners (node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
      at invokeEventListeners (node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12687:16)
      at invokeGuardedCallback (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12748:31)
      at reportUncaughtErrorInDEV (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12775:5)
      at captureCommitPhaseError (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16366:5)
      at commitPassiveMountEffects_complete (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14423:9)
      at commitPassiveMountEffects_begin (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14408:7)
      at commitPassiveMountEffects (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14396:3)
      at flushPassiveEffectsImpl (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16287:3)
      at flushPassiveEffects (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16236:14)
      at node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16051:9
      at workLoop (node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.development.js:266:34)
      at flushWork (node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.development.js:239:14)
      at performWorkUntilDeadline (node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.development.js:533:21)
      at Timeout.task [as _onTimeout] (node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)

  console.error
    The above error occurred in the <ScrollbarSize> component:

        at ScrollbarSize (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@mui[email protected]_@[email protected]_@[email protected][email protected]__@emotion+style_ddscnvx52uo2ovufgi3btuvqoe/node_modules/@mui/material/node/Tabs/ScrollbarSize.js:34:7)
        at /Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@emotion[email protected]_@[email protected][email protected]/node_modules/@emotion/react/dist/emotion-element-f93e57b0.cjs.dev.js:62:23
        at div
        at /Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@emotion[email protected]_@[email protected][email protected]/node_modules/@emotion/react/dist/emotion-element-f93e57b0.cjs.dev.js:62:23
        at Tabs (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@mui[email protected]_@[email protected]_@[email protected][email protected]__@emotion+style_ddscnvx52uo2ovufgi3btuvqoe/node_modules/@mui/material/node/Tabs/Tabs.js:215:44)
        at div
        at /Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@emotion[email protected]_@[email protected][email protected]/node_modules/@emotion/react/dist/emotion-element-f93e57b0.cjs.dev.js:62:23
        at Box (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@mui[email protected]_@[email protected]_@[email protected][email protected]__@emotion+styled@_ayxiereyurbklw6aphsp47qvvu/node_modules/@mui/system/createBox.js:31:41)
        at div
        at /Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@emotion[email protected]_@[email protected][email protected]/node_modules/@emotion/react/dist/emotion-element-f93e57b0.cjs.dev.js:62:23
        at Box (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@mui[email protected]_@[email protected]_@[email protected][email protected]__@emotion+styled@_ayxiereyurbklw6aphsp47qvvu/node_modules/@mui/system/createBox.js:31:41)
        at div
        at /Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@emotion[email protected]_@[email protected][email protected]/node_modules/@emotion/react/dist/emotion-element-f93e57b0.cjs.dev.js:62:23
        at Container (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@mui[email protected]_@[email protected]_@[email protected][email protected]__@emotion+styled@_ayxiereyurbklw6aphsp47qvvu/node_modules/@mui/system/Container/createContainer.js:110:19)
        at DynamicScrollableTabs (/Users/nicholefrey/Workspace/mui-test-fixture-41388/app/components/DynamicScrollableTabs.tsx:11:35)
        at div
        at /Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@emotion[email protected]_@[email protected][email protected]/node_modules/@emotion/react/dist/emotion-element-f93e57b0.cjs.dev.js:62:23
        at Container (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@mui[email protected]_@[email protected]_@[email protected][email protected]__@emotion+styled@_ayxiereyurbklw6aphsp47qvvu/node_modules/@mui/system/Container/createContainer.js:110:19)
        at main
        at /Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@emotion[email protected]_@[email protected][email protected]/node_modules/@emotion/react/dist/emotion-element-f93e57b0.cjs.dev.js:62:23
        at Box (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@mui[email protected]_@[email protected]_@[email protected][email protected]__@emotion+styled@_ayxiereyurbklw6aphsp47qvvu/node_modules/@mui/system/createBox.js:31:41)
        at Home
        at RtlProvider (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@mui[email protected]_@[email protected]_@[email protected][email protected]__@emotion+styled@_ayxiereyurbklw6aphsp47qvvu/node_modules/@mui/system/RtlProvider/index.js:19:7)
        at ThemeProvider (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@mui[email protected]_@[email protected][email protected]/node_modules/@mui/private-theming/node/ThemeProvider/ThemeProvider.js:39:5)
        at ThemeProvider (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@mui[email protected]_@[email protected]_@[email protected][email protected]__@emotion+styled@_ayxiereyurbklw6aphsp47qvvu/node_modules/@mui/system/ThemeProvider/ThemeProvider.js:51:5)
        at ThemeProvider (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@mui[email protected]_@[email protected]_@[email protected][email protected]__@emotion+style_ddscnvx52uo2ovufgi3btuvqoe/node_modules/@mui/material/node/styles/ThemeProvider.js:21:14)
        at AppRouterCacheProvider (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@mui[email protected]_@[email protected]_@[email protected]_@[email protected]_jirg5sb6fuv6a2okjalkv3ce7e/node_modules/@mui/material-nextjs/node/v13-appRouter/appRouterV13.js:24:5)
        at ThemeContainer (/Users/nicholefrey/Workspace/mui-test-fixture-41388/app/ThemeContainer.tsx:11:58)
        at TestWrapper (/Users/nicholefrey/Workspace/mui-test-fixture-41388/utils/test-utils.tsx:11:52)

    Consider adding an error boundary to your tree to customize error handling behavior.
    Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

      at logCapturedError (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:8678:23)
      at update.callback (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:8711:5)
      at callCallback (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5175:12)
      at commitUpdateQueue (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5196:9)
      at commitLayoutEffectOnFiber (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13271:13)
      at commitLayoutMountEffects_complete (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14369:9)
      at commitLayoutEffects_begin (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14355:7)
      at commitLayoutEffects (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14340:3)
      at commitRootImpl (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16101:5)
      at commitRoot (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15972:5)
      at performSyncWorkOnRoot (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15493:3)
      at flushSyncCallbacks (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2597:22)
      at flushPassiveEffectsImpl (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16300:3)
      at flushPassiveEffects (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16236:14)
      at node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16051:9
      at workLoop (node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.development.js:266:34)
      at flushWork (node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.development.js:239:14)
      at performWorkUntilDeadline (node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.development.js:533:21)
      at Timeout.task [as _onTimeout] (node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)

  console.error
    The above error occurred in the <ForwardRef(Tabs)> component:

        at Tabs (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@mui[email protected]_@[email protected]_@[email protected][email protected]__@emotion+style_ddscnvx52uo2ovufgi3btuvqoe/node_modules/@mui/material/node/Tabs/Tabs.js:215:44)
        at div
        at /Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@emotion[email protected]_@[email protected][email protected]/node_modules/@emotion/react/dist/emotion-element-f93e57b0.cjs.dev.js:62:23
        at Box (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@mui[email protected]_@[email protected]_@[email protected][email protected]__@emotion+styled@_ayxiereyurbklw6aphsp47qvvu/node_modules/@mui/system/createBox.js:31:41)
        at div
        at /Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@emotion[email protected]_@[email protected][email protected]/node_modules/@emotion/react/dist/emotion-element-f93e57b0.cjs.dev.js:62:23
        at Box (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@mui[email protected]_@[email protected]_@[email protected][email protected]__@emotion+styled@_ayxiereyurbklw6aphsp47qvvu/node_modules/@mui/system/createBox.js:31:41)
        at div
        at /Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@emotion[email protected]_@[email protected][email protected]/node_modules/@emotion/react/dist/emotion-element-f93e57b0.cjs.dev.js:62:23
        at Container (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@mui[email protected]_@[email protected]_@[email protected][email protected]__@emotion+styled@_ayxiereyurbklw6aphsp47qvvu/node_modules/@mui/system/Container/createContainer.js:110:19)
        at DynamicScrollableTabs (/Users/nicholefrey/Workspace/mui-test-fixture-41388/app/components/DynamicScrollableTabs.tsx:11:35)
        at div
        at /Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@emotion[email protected]_@[email protected][email protected]/node_modules/@emotion/react/dist/emotion-element-f93e57b0.cjs.dev.js:62:23
        at Container (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@mui[email protected]_@[email protected]_@[email protected][email protected]__@emotion+styled@_ayxiereyurbklw6aphsp47qvvu/node_modules/@mui/system/Container/createContainer.js:110:19)
        at main
        at /Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@emotion[email protected]_@[email protected][email protected]/node_modules/@emotion/react/dist/emotion-element-f93e57b0.cjs.dev.js:62:23
        at Box (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@mui[email protected]_@[email protected]_@[email protected][email protected]__@emotion+styled@_ayxiereyurbklw6aphsp47qvvu/node_modules/@mui/system/createBox.js:31:41)
        at Home
        at RtlProvider (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@mui[email protected]_@[email protected]_@[email protected][email protected]__@emotion+styled@_ayxiereyurbklw6aphsp47qvvu/node_modules/@mui/system/RtlProvider/index.js:19:7)
        at ThemeProvider (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@mui[email protected]_@[email protected][email protected]/node_modules/@mui/private-theming/node/ThemeProvider/ThemeProvider.js:39:5)
        at ThemeProvider (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@mui[email protected]_@[email protected]_@[email protected][email protected]__@emotion+styled@_ayxiereyurbklw6aphsp47qvvu/node_modules/@mui/system/ThemeProvider/ThemeProvider.js:51:5)
        at ThemeProvider (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@mui[email protected]_@[email protected]_@[email protected][email protected]__@emotion+style_ddscnvx52uo2ovufgi3btuvqoe/node_modules/@mui/material/node/styles/ThemeProvider.js:21:14)
        at AppRouterCacheProvider (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@mui[email protected]_@[email protected]_@[email protected]_@[email protected]_jirg5sb6fuv6a2okjalkv3ce7e/node_modules/@mui/material-nextjs/node/v13-appRouter/appRouterV13.js:24:5)
        at ThemeContainer (/Users/nicholefrey/Workspace/mui-test-fixture-41388/app/ThemeContainer.tsx:11:58)
        at TestWrapper (/Users/nicholefrey/Workspace/mui-test-fixture-41388/utils/test-utils.tsx:11:52)

    Consider adding an error boundary to your tree to customize error handling behavior.
    Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

      at logCapturedError (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:8678:23)
      at update.callback (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:8711:5)
      at callCallback (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5175:12)
      at commitUpdateQueue (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5196:9)
      at commitLayoutEffectOnFiber (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13271:13)
      at commitLayoutMountEffects_complete (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14369:9)
      at commitLayoutEffects_begin (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14355:7)
      at commitLayoutEffects (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14340:3)
      at commitRootImpl (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16101:5)
      at commitRoot (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15972:5)
      at performSyncWorkOnRoot (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15493:3)
      at flushSyncCallbacks (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2597:22)
      at flushPassiveEffectsImpl (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16300:3)
      at flushPassiveEffects (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16236:14)
      at node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16051:9
      at workLoop (node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.development.js:266:34)
      at flushWork (node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.development.js:239:14)
      at performWorkUntilDeadline (node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.development.js:533:21)
      at Timeout.task [as _onTimeout] (node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)

  console.error
    Error: Uncaught [TypeError: Cannot read properties of null (reading 'offsetHeight')]
        at reportException (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
        at Timeout.task [as _onTimeout] (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/browser/Window.js:525:9)
        at listOnTimeout (node:internal/timers:573:17)
        at processTimers (node:internal/timers:514:7) {
      detail: TypeError: Cannot read properties of null (reading 'offsetHeight')
          at setMeasurements (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@mui[email protected]_@[email protected]_@[email protected][email protected]__@emotion+style_ddscnvx52uo2ovufgi3btuvqoe/node_modules/@mui/material/node/Tabs/ScrollbarSize.js:40:47)
          at /Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/@mui[email protected]_@[email protected]_@[email protected][email protected]__@emotion+style_ddscnvx52uo2ovufgi3btuvqoe/node_modules/@mui/material/node/Tabs/ScrollbarSize.js:58:5
          at commitHookEffectListMount (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13038:26)
          at commitPassiveMountOnFiber (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14461:11)
          at commitPassiveMountEffects_complete (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14421:9)
          at commitPassiveMountEffects_begin (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14408:7)
          at commitPassiveMountEffects (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14396:3)
          at flushPassiveEffectsImpl (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16287:3)
          at flushPassiveEffects (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16236:14)
          at /Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16051:9
          at workLoop (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.development.js:266:34)
          at flushWork (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.development.js:239:14)
          at performWorkUntilDeadline (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.development.js:533:21)
          at Timeout.task [as _onTimeout] (/Users/nicholefrey/Workspace/mui-test-fixture-41388/node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
          at listOnTimeout (node:internal/timers:573:17)
          at processTimers (node:internal/timers:514:7),
      type: 'unhandled exception'
    }

      at VirtualConsole.<anonymous> (node_modules/.pnpm/[email protected]/node_modules/jest-environment-jsdom/build/index.js:63:23)
      at reportException (node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
      at Timeout.task [as _onTimeout] (node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/browser/Window.js:525:9)

 FAIL  app/page.test.tsx
  The Page
    ✓ has expected snapshot (64 ms)
    ✕ works as expected (558 ms)

  ● The Page › works as expected

    TypeError: Cannot read properties of null (reading 'offsetHeight')

      at setMeasurements (node_modules/.pnpm/@mui[email protected]_@[email protected]_@[email protected][email protected]__@emotion+style_ddscnvx52uo2ovufgi3btuvqoe/node_modules/@mui/material/node/Tabs/ScrollbarSize.js:40:47)
      at node_modules/.pnpm/@mui[email protected]_@[email protected]_@[email protected][email protected]__@emotion+style_ddscnvx52uo2ovufgi3btuvqoe/node_modules/@mui/material/node/Tabs/ScrollbarSize.js:58:5
      at commitHookEffectListMount (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13038:26)
      at commitPassiveMountOnFiber (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14461:11)
      at commitPassiveMountEffects_complete (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14421:9)
      at commitPassiveMountEffects_begin (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14408:7)
      at commitPassiveMountEffects (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14396:3)
      at flushPassiveEffectsImpl (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16287:3)
      at flushPassiveEffects (node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16236:14)
      at node_modules/.pnpm/[email protected][email protected]/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:16051:9
      at workLoop (node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.development.js:266:34)
      at flushWork (node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.development.js:239:14)
      at performWorkUntilDeadline (node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.development.js:533:21)
      at Timeout.task [as _onTimeout] (node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)

----------------------------|---------|----------|---------|---------|-------------------
File                        | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------------------------|---------|----------|---------|---------|-------------------
All files                   |    89.1 |    85.71 |      80 |    89.1 |
 app                        |      80 |    66.66 |   66.66 |      80 |
  ThemeContainer.tsx        |     100 |      100 |     100 |     100 |
  layout.tsx                |       0 |        0 |       0 |       0 | 1-17
  page.tsx                  |     100 |      100 |     100 |     100 |
  theme.tsx                 |     100 |      100 |     100 |     100 |
 app/components             |     100 |      100 |     100 |     100 |
  DynamicScrollableTabs.tsx |     100 |      100 |     100 |     100 |
----------------------------|---------|----------|---------|---------|-------------------
Test Suites: 1 failed, 1 total
Tests:       1 failed, 1 passed, 2 total
Snapshots:   1 passed, 1 total
Time:        3.032 s
Ran all test suites.
 ELIFECYCLE  Test failed. See above for more details.
```
  • Loading branch information
nicholeuf authored Jun 7, 2024
1 parent 2271317 commit a33bd35
Show file tree
Hide file tree
Showing 19 changed files with 7,250 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "next/core-web-vitals"
}
6 changes: 6 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Ignore artifacts:
build
coverage

# Ignore all HTML files:
**/*.html
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"endOfLine": "lf",
"printWidth": 80,
"tabWidth": 2,
"trailingComma": "es5",
"singleQuote": true
}
40 changes: 40 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,42 @@
# mui-test-fixture-41388

Test Fixture for https://github.com/mui/material-ui/issues/41388

---

This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).

## Getting Started

First, run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
23 changes: 23 additions & 0 deletions app/ThemeContainer.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { AppRouterCacheProvider } from '@mui/material-nextjs/v14-appRouter';
import { ThemeProvider } from '@mui/material/styles';
import CssBaseline from '@mui/material/CssBaseline';

import theme from './theme';

interface ThemeContainerProps {
children: React.ReactNode;
}

const ThemeContainer: React.FC<ThemeContainerProps> = ({ children }) => {
return (
<AppRouterCacheProvider>
<ThemeProvider theme={theme}>
{/* CssBaseline kickstart an elegant, consistent, and simple baseline to build upon. */}
<CssBaseline />
{children}
</ThemeProvider>
</AppRouterCacheProvider>
);
};

export default ThemeContainer;
Loading

0 comments on commit a33bd35

Please sign in to comment.