Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(gettingstarted): add profiling snippet for nodejs #81174

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shellmayr
Copy link
Member

No description provided.

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Nov 22, 2024
Copy link

codecov bot commented Nov 22, 2024

❌ 13 Tests Failed:

Tests completed Failed Passed Skipped
8245 13 8232 0
View the top 3 failed tests by shortest run time
node onboarding docs enables profiling by setting profiling samplerates
Stack Traces | 0.022s run time
Error: Expected test not to call console.error().

If the error is expected, test for it explicitly by mocking it out using jest.spyOn(console, 'error').mockImplementation() and test that the warning occurs.

Error: Uncaught [TypeError: Cannot read properties of undefined (reading 'isProfilingSelected')]
    at reportException (.../living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (.../living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (.../living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (.../living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (.../living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (.../living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (.../react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (.../react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
    at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25738:74)
    at flushActQueue (.../react/cjs/react.development.js:2667:24)
    at act (.../react/cjs/react.development.js:2582:11)
    at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
    at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
    at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
    at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
    at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
    at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:48:64)
    at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
    at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12) {
  detail: TypeError: Cannot read properties of undefined (reading 'isProfilingSelected')
      at getSdkSetupSnippet (.../gettingStartedDocs/node/node.tsx:874:39)
      at Object.configure (.../gettingStartedDocs/node/node.tsx:1025:17)
      at .../onboarding/gettingStartedDoc/onboardingLayout.tsx:1207:49
      at mountMemo (.../react-dom/cjs/react-dom.development.js:17225:19)
      at Object.useMemo (.../react-dom/cjs/react-dom.development.js:17670:16)
      at useMemo (.../sentry/sentry/node_modules/react/cjs/react.development.js:1650:21)
      at OnboardingLayout (.../onboarding/gettingStartedDoc/onboardingLayout.tsx:1147:11)
      at renderWithHooks (.../react-dom/cjs/react-dom.development.js:16305:18)
      at mountIndeterminateComponent (.../react-dom/cjs/react-dom.development.js:20074:13)
      at beginWork (.../react-dom/cjs/react-dom.development.js:21587:16)
      at HTMLUnknownElement.callCallback (.../react-dom/cjs/react-dom.development.js:4164:14)
      at HTMLUnknownElement.callTheUserObjectsOperation (.../sentry/sentry/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
      at innerInvokeEventListeners (.../living/events/EventTarget-impl.js:350:25)
      at invokeEventListeners (.../living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (.../living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (.../living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (.../living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (.../react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (.../react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27451:7)
      at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
      at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
      at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
      at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25738:74)
      at flushActQueue (.../react/cjs/react.development.js:2667:24)
      at act (.../react/cjs/react.development.js:2582:11)
      at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
      at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
      at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
      at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
      at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
      at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:48:64)
      at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
      at new Promise (<anonymous>)
      at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
      at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
      at processTicksAndRejections (node:internal/process/task_queues:105:5)
      at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
      at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
      at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
      at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
      at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
      at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
      at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
      at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
      at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12),
  type: 'unhandled exception'
}
    at console.captureMessage [as error] (.../sentry/sentry/node_modules/jest-fail-on-console/index.js:83:25)
    at VirtualConsole.<anonymous> (.../sentry/sentry/node_modules/jest-environment-jsdom/build/index.js:63:23)
    at VirtualConsole.emit (node:events:518:28)
    at reportException (.../living/helpers/runtime-script-errors.js:70:28)
    at innerInvokeEventListeners (.../living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (.../living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (.../living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (.../living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (.../living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (.../react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (.../react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
    at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25738:74)
    at flushActQueue (.../react/cjs/react.development.js:2667:24)
    at act (.../react/cjs/react.development.js:2582:11)
    at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
    at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
    at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
    at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
    at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
    at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:48:64)
    at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
    at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12)

Error: Uncaught [TypeError: Cannot read properties of undefined (reading 'isProfilingSelected')]
    at reportException (.../living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (.../living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (.../living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (.../living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (.../living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (.../living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (.../react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (.../react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
    at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25738:74)
    at flushActQueue (.../react/cjs/react.development.js:2667:24)
    at act (.../react/cjs/react.development.js:2582:11)
    at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
    at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
    at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
    at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
    at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
    at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:48:64)
    at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
    at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12) {
  detail: TypeError: Cannot read properties of undefined (reading 'isProfilingSelected')
      at getSdkSetupSnippet (.../gettingStartedDocs/node/node.tsx:874:39)
      at Object.configure (.../gettingStartedDocs/node/node.tsx:1025:17)
      at .../onboarding/gettingStartedDoc/onboardingLayout.tsx:1207:49
      at mountMemo (.../react-dom/cjs/react-dom.development.js:17225:19)
      at Object.useMemo (.../react-dom/cjs/react-dom.development.js:17670:16)
      at useMemo (.../sentry/sentry/node_modules/react/cjs/react.development.js:1650:21)
      at OnboardingLayout (.../onboarding/gettingStartedDoc/onboardingLayout.tsx:1147:11)
      at renderWithHooks (.../react-dom/cjs/react-dom.development.js:16305:18)
      at mountIndeterminateComponent (.../react-dom/cjs/react-dom.development.js:20074:13)
      at beginWork (.../react-dom/cjs/react-dom.development.js:21587:16)
      at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27426:14)
      at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
      at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
      at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
      at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25738:74)
      at flushActQueue (.../react/cjs/react.development.js:2667:24)
      at act (.../react/cjs/react.development.js:2582:11)
      at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
      at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
      at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
      at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
      at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
      at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:48:64)
      at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
      at new Promise (<anonymous>)
      at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
      at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
      at processTicksAndRejections (node:internal/process/task_queues:105:5)
      at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
      at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
      at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
      at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
      at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
      at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
      at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
      at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
      at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12),
  type: 'unhandled exception'
}
    at console.captureMessage [as error] (.../sentry/sentry/node_modules/jest-fail-on-console/index.js:83:25)
    at VirtualConsole.<anonymous> (.../sentry/sentry/node_modules/jest-environment-jsdom/build/index.js:63:23)
    at VirtualConsole.emit (node:events:518:28)
    at reportException (.../living/helpers/runtime-script-errors.js:70:28)
    at innerInvokeEventListeners (.../living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (.../living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (.../living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (.../living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (.../living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (.../react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (.../react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
    at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25738:74)
    at flushActQueue (.../react/cjs/react.development.js:2667:24)
    at act (.../react/cjs/react.development.js:2582:11)
    at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
    at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
    at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
    at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
    at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
    at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:48:64)
    at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
    at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12)

Error: Uncaught [TypeError: Cannot read properties of undefined (reading 'isProfilingSelected')]
    at reportException (.../living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (.../living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (.../living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (.../living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (.../living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (.../living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (.../react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (.../react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
    at recoverFromConcurrentError (.../react-dom/cjs/react-dom.development.js:25850:20)
    at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25750:22)
    at flushActQueue (.../react/cjs/react.development.js:2667:24)
    at act (.../react/cjs/react.development.js:2582:11)
    at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
    at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
    at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
    at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
    at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
    at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:48:64)
    at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
    at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12) {
  detail: TypeError: Cannot read properties of undefined (reading 'isProfilingSelected')
      at getSdkSetupSnippet (.../gettingStartedDocs/node/node.tsx:874:39)
      at Object.configure (.../gettingStartedDocs/node/node.tsx:1025:17)
      at .../onboarding/gettingStartedDoc/onboardingLayout.tsx:1207:49
      at mountMemo (.../react-dom/cjs/react-dom.development.js:17225:19)
      at Object.useMemo (.../react-dom/cjs/react-dom.development.js:17670:16)
      at useMemo (.../sentry/sentry/node_modules/react/cjs/react.development.js:1650:21)
      at OnboardingLayout (.../onboarding/gettingStartedDoc/onboardingLayout.tsx:1147:11)
      at renderWithHooks (.../react-dom/cjs/react-dom.development.js:16305:18)
      at mountIndeterminateComponent (.../react-dom/cjs/react-dom.development.js:20074:13)
      at beginWork (.../react-dom/cjs/react-dom.development.js:21587:16)
      at HTMLUnknownElement.callCallback (.../react-dom/cjs/react-dom.development.js:4164:14)
      at HTMLUnknownElement.callTheUserObjectsOperation (.../sentry/sentry/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
      at innerInvokeEventListeners (.../living/events/EventTarget-impl.js:350:25)
      at invokeEventListeners (.../living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (.../living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (.../living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (.../living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (.../react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (.../react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27451:7)
      at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
      at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
      at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
      at recoverFromConcurrentError (.../react-dom/cjs/react-dom.development.js:25850:20)
      at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25750:22)
      at flushActQueue (.../react/cjs/react.development.js:2667:24)
      at act (.../react/cjs/react.development.js:2582:11)
      at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
      at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
      at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
      at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
      at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
      at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:48:64)
      at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
      at new Promise (<anonymous>)
      at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
      at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
      at processTicksAndRejections (node:internal/process/task_queues:105:5)
      at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
      at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
      at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
      at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
      at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
      at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
      at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
      at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
      at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12),
  type: 'unhandled exception'
}
    at console.captureMessage [as error] (.../sentry/sentry/node_modules/jest-fail-on-console/index.js:83:25)
    at VirtualConsole.<anonymous> (.../sentry/sentry/node_modules/jest-environment-jsdom/build/index.js:63:23)
    at VirtualConsole.emit (node:events:518:28)
    at reportException (.../living/helpers/runtime-script-errors.js:70:28)
    at innerInvokeEventListeners (.../living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (.../living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (.../living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (.../living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (.../living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (.../react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (.../react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
    at recoverFromConcurrentError (.../react-dom/cjs/react-dom.development.js:25850:20)
    at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25750:22)
    at flushActQueue (.../react/cjs/react.development.js:2667:24)
    at act (.../react/cjs/react.development.js:2582:11)
    at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
    at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
    at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
    at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
    at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
    at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:48:64)
    at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
    at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12)

Error: Uncaught [TypeError: Cannot read properties of undefined (reading 'isProfilingSelected')]
    at reportException (.../living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (.../living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (.../living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (.../living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (.../living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (.../living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (.../react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (.../react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
    at recoverFromConcurrentError (.../react-dom/cjs/react-dom.development.js:25850:20)
    at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25750:22)
    at flushActQueue (.../react/cjs/react.development.js:2667:24)
    at act (.../react/cjs/react.development.js:2582:11)
    at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
    at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
    at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
    at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
    at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
    at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:48:64)
    at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
    at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12) {
  detail: TypeError: Cannot read properties of undefined (reading 'isProfilingSelected')
      at getSdkSetupSnippet (.../gettingStartedDocs/node/node.tsx:874:39)
      at Object.configure (.../gettingStartedDocs/node/node.tsx:1025:17)
      at .../onboarding/gettingStartedDoc/onboardingLayout.tsx:1207:49
      at mountMemo (.../react-dom/cjs/react-dom.development.js:17225:19)
      at Object.useMemo (.../react-dom/cjs/react-dom.development.js:17670:16)
      at useMemo (.../sentry/sentry/node_modules/react/cjs/react.development.js:1650:21)
      at OnboardingLayout (.../onboarding/gettingStartedDoc/onboardingLayout.tsx:1147:11)
      at renderWithHooks (.../react-dom/cjs/react-dom.development.js:16305:18)
      at mountIndeterminateComponent (.../react-dom/cjs/react-dom.development.js:20074:13)
      at beginWork (.../react-dom/cjs/react-dom.development.js:21587:16)
      at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27426:14)
      at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
      at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
      at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
      at recoverFromConcurrentError (.../react-dom/cjs/react-dom.development.js:25850:20)
      at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25750:22)
      at flushActQueue (.../react/cjs/react.development.js:2667:24)
      at act (.../react/cjs/react.development.js:2582:11)
      at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
      at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
      at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
      at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
      at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
      at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:48:64)
      at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
      at new Promise (<anonymous>)
      at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
      at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
      at processTicksAndRejections (node:internal/process/task_queues:105:5)
      at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
      at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
      at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
      at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
      at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
      at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
      at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
      at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
      at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12),
  type: 'unhandled exception'
}
    at console.captureMessage [as error] (.../sentry/sentry/node_modules/jest-fail-on-console/index.js:83:25)
    at VirtualConsole.<anonymous> (.../sentry/sentry/node_modules/jest-environment-jsdom/build/index.js:63:23)
    at VirtualConsole.emit (node:events:518:28)
    at reportException (.../living/helpers/runtime-script-errors.js:70:28)
    at innerInvokeEventListeners (.../living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (.../living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (.../living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (.../living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (.../living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (.../react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (.../react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
    at recoverFromConcurrentError (.../react-dom/cjs/react-dom.development.js:25850:20)
    at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25750:22)
    at flushActQueue (.../react/cjs/react.development.js:2667:24)
    at act (.../react/cjs/react.development.js:2582:11)
    at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
    at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
    at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
    at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
    at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
    at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:48:64)
    at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
    at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12)

The above error occurred in the <ErrorBoundary> component:

    at ErrorBoundary (.../js/sentry-test/reactTestingLibrary.tsx:126:47)
    at RenderErrorBoundary (.../sentry/sentry/node_modules/react-router/lib/hooks.tsx:584:5)
    at routes (.../sentry/sentry/node_modules/react-router-dom/index.tsx:760:3)
    at basenameProp (.../sentry/sentry/node_modules/react-router/lib/components.tsx:413:13)
    at fallbackElement (.../sentry/sentry/node_modules/react-router-dom/index.tsx:487:3)
    at QueryClientProvider (.../sentry/sentry/node_modules/@.../react-query/src/QueryClientProvider.tsx:30:3)
    at ThemeProvider (.../sentry/sentry/node_modules/@.../react/dist/emotion-element-48d2c2e4.cjs.dev.js:125:32)
    at .../js/sentry-test/reactTestingLibrary.tsx:73:5

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 console.captureMessage [as error] (.../sentry/sentry/node_modules/jest-fail-on-console/index.js:83:25)
    at logCapturedError (.../react-dom/cjs/react-dom.development.js:18687:23)
    at update.callback (.../react-dom/cjs/react-dom.development.js:18720:5)
    at callCallback (.../react-dom/cjs/react-dom.development.js:13923:12)
    at commitUpdateQueue (.../react-dom/cjs/react-dom.development.js:13944:9)
    at commitLayoutEffectOnFiber (.../react-dom/cjs/react-dom.development.js:23391:13)
    at commitLayoutMountEffects_complete (.../react-dom/cjs/react-dom.development.js:24688:9)
    at commitLayoutEffects_begin (.../react-dom/cjs/react-dom.development.js:24674:7)
    at commitLayoutEffects (.../react-dom/cjs/react-dom.development.js:24612:3)
    at commitRootImpl (.../react-dom/cjs/react-dom.development.js:26823:5)
    at commitRoot (.../react-dom/cjs/react-dom.development.js:26682:5)
    at finishConcurrentRender (.../react-dom/cjs/react-dom.development.js:25892:9)
    at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25809:7)
    at flushActQueue (.../react/cjs/react.development.js:2667:24)
    at act (.../react/cjs/react.development.js:2582:11)
    at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
    at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
    at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
    at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
    at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
    at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:48:64)
    at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
    at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12)
    at flushUnexpectedConsoleCalls (.../sentry/sentry/node_modules/jest-fail-on-console/index.js:48:13)
    at Object.<anonymous> (.../sentry/sentry/node_modules/jest-fail-on-console/index.js:139:7)
    at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusHook (.../sentry/sentry/node_modules/jest-circus/build/run.js:281:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:254:5)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
    at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12)
node onboarding docs enables performance setting the tracesSampleRate to 1
Stack Traces | 0.033s run time
Error: Expected test not to call console.error().

If the error is expected, test for it explicitly by mocking it out using jest.spyOn(console, 'error').mockImplementation() and test that the warning occurs.

Error: Uncaught [TypeError: Cannot read properties of undefined (reading 'isProfilingSelected')]
    at reportException (.../living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (.../living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (.../living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (.../living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (.../living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (.../living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (.../react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (.../react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
    at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25738:74)
    at flushActQueue (.../react/cjs/react.development.js:2667:24)
    at act (.../react/cjs/react.development.js:2582:11)
    at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
    at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
    at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
    at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
    at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
    at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:42:64)
    at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
    at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12) {
  detail: TypeError: Cannot read properties of undefined (reading 'isProfilingSelected')
      at getSdkSetupSnippet (.../gettingStartedDocs/node/node.tsx:874:39)
      at Object.configure (.../gettingStartedDocs/node/node.tsx:1025:17)
      at .../onboarding/gettingStartedDoc/onboardingLayout.tsx:1207:49
      at mountMemo (.../react-dom/cjs/react-dom.development.js:17225:19)
      at Object.useMemo (.../react-dom/cjs/react-dom.development.js:17670:16)
      at useMemo (.../sentry/sentry/node_modules/react/cjs/react.development.js:1650:21)
      at OnboardingLayout (.../onboarding/gettingStartedDoc/onboardingLayout.tsx:1147:11)
      at renderWithHooks (.../react-dom/cjs/react-dom.development.js:16305:18)
      at mountIndeterminateComponent (.../react-dom/cjs/react-dom.development.js:20074:13)
      at beginWork (.../react-dom/cjs/react-dom.development.js:21587:16)
      at HTMLUnknownElement.callCallback (.../react-dom/cjs/react-dom.development.js:4164:14)
      at HTMLUnknownElement.callTheUserObjectsOperation (.../sentry/sentry/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
      at innerInvokeEventListeners (.../living/events/EventTarget-impl.js:350:25)
      at invokeEventListeners (.../living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (.../living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (.../living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (.../living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (.../react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (.../react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27451:7)
      at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
      at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
      at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
      at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25738:74)
      at flushActQueue (.../react/cjs/react.development.js:2667:24)
      at act (.../react/cjs/react.development.js:2582:11)
      at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
      at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
      at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
      at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
      at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
      at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:42:64)
      at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
      at new Promise (<anonymous>)
      at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
      at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
      at processTicksAndRejections (node:internal/process/task_queues:105:5)
      at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
      at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
      at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
      at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
      at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
      at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
      at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
      at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
      at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12),
  type: 'unhandled exception'
}
    at console.captureMessage [as error] (.../sentry/sentry/node_modules/jest-fail-on-console/index.js:83:25)
    at VirtualConsole.<anonymous> (.../sentry/sentry/node_modules/jest-environment-jsdom/build/index.js:63:23)
    at VirtualConsole.emit (node:events:518:28)
    at reportException (.../living/helpers/runtime-script-errors.js:70:28)
    at innerInvokeEventListeners (.../living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (.../living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (.../living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (.../living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (.../living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (.../react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (.../react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
    at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25738:74)
    at flushActQueue (.../react/cjs/react.development.js:2667:24)
    at act (.../react/cjs/react.development.js:2582:11)
    at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
    at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
    at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
    at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
    at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
    at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:42:64)
    at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
    at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12)

Error: Uncaught [TypeError: Cannot read properties of undefined (reading 'isProfilingSelected')]
    at reportException (.../living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (.../living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (.../living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (.../living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (.../living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (.../living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (.../react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (.../react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
    at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25738:74)
    at flushActQueue (.../react/cjs/react.development.js:2667:24)
    at act (.../react/cjs/react.development.js:2582:11)
    at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
    at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
    at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
    at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
    at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
    at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:42:64)
    at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
    at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12) {
  detail: TypeError: Cannot read properties of undefined (reading 'isProfilingSelected')
      at getSdkSetupSnippet (.../gettingStartedDocs/node/node.tsx:874:39)
      at Object.configure (.../gettingStartedDocs/node/node.tsx:1025:17)
      at .../onboarding/gettingStartedDoc/onboardingLayout.tsx:1207:49
      at mountMemo (.../react-dom/cjs/react-dom.development.js:17225:19)
      at Object.useMemo (.../react-dom/cjs/react-dom.development.js:17670:16)
      at useMemo (.../sentry/sentry/node_modules/react/cjs/react.development.js:1650:21)
      at OnboardingLayout (.../onboarding/gettingStartedDoc/onboardingLayout.tsx:1147:11)
      at renderWithHooks (.../react-dom/cjs/react-dom.development.js:16305:18)
      at mountIndeterminateComponent (.../react-dom/cjs/react-dom.development.js:20074:13)
      at beginWork (.../react-dom/cjs/react-dom.development.js:21587:16)
      at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27426:14)
      at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
      at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
      at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
      at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25738:74)
      at flushActQueue (.../react/cjs/react.development.js:2667:24)
      at act (.../react/cjs/react.development.js:2582:11)
      at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
      at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
      at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
      at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
      at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
      at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:42:64)
      at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
      at new Promise (<anonymous>)
      at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
      at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
      at processTicksAndRejections (node:internal/process/task_queues:105:5)
      at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
      at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
      at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
      at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
      at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
      at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
      at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
      at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
      at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12),
  type: 'unhandled exception'
}
    at console.captureMessage [as error] (.../sentry/sentry/node_modules/jest-fail-on-console/index.js:83:25)
    at VirtualConsole.<anonymous> (.../sentry/sentry/node_modules/jest-environment-jsdom/build/index.js:63:23)
    at VirtualConsole.emit (node:events:518:28)
    at reportException (.../living/helpers/runtime-script-errors.js:70:28)
    at innerInvokeEventListeners (.../living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (.../living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (.../living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (.../living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (.../living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (.../react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (.../react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
    at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25738:74)
    at flushActQueue (.../react/cjs/react.development.js:2667:24)
    at act (.../react/cjs/react.development.js:2582:11)
    at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
    at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
    at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
    at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
    at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
    at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:42:64)
    at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
    at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12)

Error: Uncaught [TypeError: Cannot read properties of undefined (reading 'isProfilingSelected')]
    at reportException (.../living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (.../living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (.../living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (.../living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (.../living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (.../living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (.../react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (.../react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
    at recoverFromConcurrentError (.../react-dom/cjs/react-dom.development.js:25850:20)
    at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25750:22)
    at flushActQueue (.../react/cjs/react.development.js:2667:24)
    at act (.../react/cjs/react.development.js:2582:11)
    at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
    at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
    at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
    at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
    at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
    at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:42:64)
    at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
    at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12) {
  detail: TypeError: Cannot read properties of undefined (reading 'isProfilingSelected')
      at getSdkSetupSnippet (.../gettingStartedDocs/node/node.tsx:874:39)
      at Object.configure (.../gettingStartedDocs/node/node.tsx:1025:17)
      at .../onboarding/gettingStartedDoc/onboardingLayout.tsx:1207:49
      at mountMemo (.../react-dom/cjs/react-dom.development.js:17225:19)
      at Object.useMemo (.../react-dom/cjs/react-dom.development.js:17670:16)
      at useMemo (.../sentry/sentry/node_modules/react/cjs/react.development.js:1650:21)
      at OnboardingLayout (.../onboarding/gettingStartedDoc/onboardingLayout.tsx:1147:11)
      at renderWithHooks (.../react-dom/cjs/react-dom.development.js:16305:18)
      at mountIndeterminateComponent (.../react-dom/cjs/react-dom.development.js:20074:13)
      at beginWork (.../react-dom/cjs/react-dom.development.js:21587:16)
      at HTMLUnknownElement.callCallback (.../react-dom/cjs/react-dom.development.js:4164:14)
      at HTMLUnknownElement.callTheUserObjectsOperation (.../sentry/sentry/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
      at innerInvokeEventListeners (.../living/events/EventTarget-impl.js:350:25)
      at invokeEventListeners (.../living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (.../living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (.../living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (.../living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (.../react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (.../react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27451:7)
      at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
      at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
      at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
      at recoverFromConcurrentError (.../react-dom/cjs/react-dom.development.js:25850:20)
      at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25750:22)
      at flushActQueue (.../react/cjs/react.development.js:2667:24)
      at act (.../react/cjs/react.development.js:2582:11)
      at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
      at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
      at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
      at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
      at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
      at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:42:64)
      at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
      at new Promise (<anonymous>)
      at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
      at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
      at processTicksAndRejections (node:internal/process/task_queues:105:5)
      at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
      at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
      at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
      at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
      at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
      at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
      at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
      at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
      at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12),
  type: 'unhandled exception'
}
    at console.captureMessage [as error] (.../sentry/sentry/node_modules/jest-fail-on-console/index.js:83:25)
    at VirtualConsole.<anonymous> (.../sentry/sentry/node_modules/jest-environment-jsdom/build/index.js:63:23)
    at VirtualConsole.emit (node:events:518:28)
    at reportException (.../living/helpers/runtime-script-errors.js:70:28)
    at innerInvokeEventListeners (.../living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (.../living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (.../living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (.../living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (.../living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (.../react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (.../react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
    at recoverFromConcurrentError (.../react-dom/cjs/react-dom.development.js:25850:20)
    at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25750:22)
    at flushActQueue (.../react/cjs/react.development.js:2667:24)
    at act (.../react/cjs/react.development.js:2582:11)
    at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
    at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
    at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
    at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
    at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
    at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:42:64)
    at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
    at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12)

Error: Uncaught [TypeError: Cannot read properties of undefined (reading 'isProfilingSelected')]
    at reportException (.../living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (.../living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (.../living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (.../living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (.../living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (.../living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (.../react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (.../react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
    at recoverFromConcurrentError (.../react-dom/cjs/react-dom.development.js:25850:20)
    at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25750:22)
    at flushActQueue (.../react/cjs/react.development.js:2667:24)
    at act (.../react/cjs/react.development.js:2582:11)
    at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
    at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
    at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
    at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
    at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
    at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:42:64)
    at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
    at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12) {
  detail: TypeError: Cannot read properties of undefined (reading 'isProfilingSelected')
      at getSdkSetupSnippet (.../gettingStartedDocs/node/node.tsx:874:39)
      at Object.configure (.../gettingStartedDocs/node/node.tsx:1025:17)
      at .../onboarding/gettingStartedDoc/onboardingLayout.tsx:1207:49
      at mountMemo (.../react-dom/cjs/react-dom.development.js:17225:19)
      at Object.useMemo (.../react-dom/cjs/react-dom.development.js:17670:16)
      at useMemo (.../sentry/sentry/node_modules/react/cjs/react.development.js:1650:21)
      at OnboardingLayout (.../onboarding/gettingStartedDoc/onboardingLayout.tsx:1147:11)
      at renderWithHooks (.../react-dom/cjs/react-dom.development.js:16305:18)
      at mountIndeterminateComponent (.../react-dom/cjs/react-dom.development.js:20074:13)
      at beginWork (.../react-dom/cjs/react-dom.development.js:21587:16)
      at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27426:14)
      at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
      at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
      at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
      at recoverFromConcurrentError (.../react-dom/cjs/react-dom.development.js:25850:20)
      at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25750:22)
      at flushActQueue (.../react/cjs/react.development.js:2667:24)
      at act (.../react/cjs/react.development.js:2582:11)
      at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
      at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
      at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
      at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
      at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
      at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:42:64)
      at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
      at new Promise (<anonymous>)
      at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
      at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
      at processTicksAndRejections (node:internal/process/task_queues:105:5)
      at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
      at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
      at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
      at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
      at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
      at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
      at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
      at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
      at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12),
  type: 'unhandled exception'
}
    at console.captureMessage [as error] (.../sentry/sentry/node_modules/jest-fail-on-console/index.js:83:25)
    at VirtualConsole.<anonymous> (.../sentry/sentry/node_modules/jest-environment-jsdom/build/index.js:63:23)
    at VirtualConsole.emit (node:events:518:28)
    at reportException (.../living/helpers/runtime-script-errors.js:70:28)
    at innerInvokeEventListeners (.../living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (.../living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (.../living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (.../living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (.../living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (.../react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (.../react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
    at recoverFromConcurrentError (.../react-dom/cjs/react-dom.development.js:25850:20)
    at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25750:22)
    at flushActQueue (.../react/cjs/react.development.js:2667:24)
    at act (.../react/cjs/react.development.js:2582:11)
    at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
    at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
    at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
    at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
    at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
    at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:42:64)
    at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
    at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12)

The above error occurred in the <ErrorBoundary> component:

    at ErrorBoundary (.../js/sentry-test/reactTestingLibrary.tsx:126:47)
    at RenderErrorBoundary (.../sentry/sentry/node_modules/react-router/lib/hooks.tsx:584:5)
    at routes (.../sentry/sentry/node_modules/react-router-dom/index.tsx:760:3)
    at basenameProp (.../sentry/sentry/node_modules/react-router/lib/components.tsx:413:13)
    at fallbackElement (.../sentry/sentry/node_modules/react-router-dom/index.tsx:487:3)
    at QueryClientProvider (.../sentry/sentry/node_modules/@.../react-query/src/QueryClientProvider.tsx:30:3)
    at ThemeProvider (.../sentry/sentry/node_modules/@.../react/dist/emotion-element-48d2c2e4.cjs.dev.js:125:32)
    at .../js/sentry-test/reactTestingLibrary.tsx:73:5

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 console.captureMessage [as error] (.../sentry/sentry/node_modules/jest-fail-on-console/index.js:83:25)
    at logCapturedError (.../react-dom/cjs/react-dom.development.js:18687:23)
    at update.callback (.../react-dom/cjs/react-dom.development.js:18720:5)
    at callCallback (.../react-dom/cjs/react-dom.development.js:13923:12)
    at commitUpdateQueue (.../react-dom/cjs/react-dom.development.js:13944:9)
    at commitLayoutEffectOnFiber (.../react-dom/cjs/react-dom.development.js:23391:13)
    at commitLayoutMountEffects_complete (.../react-dom/cjs/react-dom.development.js:24688:9)
    at commitLayoutEffects_begin (.../react-dom/cjs/react-dom.development.js:24674:7)
    at commitLayoutEffects (.../react-dom/cjs/react-dom.development.js:24612:3)
    at commitRootImpl (.../react-dom/cjs/react-dom.development.js:26823:5)
    at commitRoot (.../react-dom/cjs/react-dom.development.js:26682:5)
    at finishConcurrentRender (.../react-dom/cjs/react-dom.development.js:25892:9)
    at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25809:7)
    at flushActQueue (.../react/cjs/react.development.js:2667:24)
    at act (.../react/cjs/react.development.js:2582:11)
    at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
    at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
    at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
    at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
    at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
    at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:42:64)
    at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
    at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12)
    at flushUnexpectedConsoleCalls (.../sentry/sentry/node_modules/jest-fail-on-console/index.js:48:13)
    at Object.<anonymous> (.../sentry/sentry/node_modules/jest-fail-on-console/index.js:139:7)
    at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusHook (.../sentry/sentry/node_modules/jest-circus/build/run.js:281:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:254:5)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
    at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12)
node onboarding docs continuous profiling
Stack Traces | 0.046s run time
Error: Expected test not to call console.error().

If the error is expected, test for it explicitly by mocking it out using jest.spyOn(console, 'error').mockImplementation() and test that the warning occurs.

Error: Uncaught [TypeError: Cannot read properties of undefined (reading 'isProfilingSelected')]
    at reportException (.../living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (.../living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (.../living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (.../living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (.../living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (.../living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (.../react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (.../react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
    at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25738:74)
    at flushActQueue (.../react/cjs/react.development.js:2667:24)
    at act (.../react/cjs/react.development.js:2582:11)
    at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
    at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
    at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
    at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
    at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
    at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:58:64)
    at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
    at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12) {
  detail: TypeError: Cannot read properties of undefined (reading 'isProfilingSelected')
      at getSdkSetupSnippet (.../gettingStartedDocs/node/node.tsx:874:39)
      at Object.configure (.../gettingStartedDocs/node/node.tsx:1025:17)
      at .../onboarding/gettingStartedDoc/onboardingLayout.tsx:1207:49
      at mountMemo (.../react-dom/cjs/react-dom.development.js:17225:19)
      at Object.useMemo (.../react-dom/cjs/react-dom.development.js:17670:16)
      at useMemo (.../sentry/sentry/node_modules/react/cjs/react.development.js:1650:21)
      at OnboardingLayout (.../onboarding/gettingStartedDoc/onboardingLayout.tsx:1147:11)
      at renderWithHooks (.../react-dom/cjs/react-dom.development.js:16305:18)
      at mountIndeterminateComponent (.../react-dom/cjs/react-dom.development.js:20074:13)
      at beginWork (.../react-dom/cjs/react-dom.development.js:21587:16)
      at HTMLUnknownElement.callCallback (.../react-dom/cjs/react-dom.development.js:4164:14)
      at HTMLUnknownElement.callTheUserObjectsOperation (.../sentry/sentry/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
      at innerInvokeEventListeners (.../living/events/EventTarget-impl.js:350:25)
      at invokeEventListeners (.../living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (.../living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (.../living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (.../living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (.../react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (.../react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27451:7)
      at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
      at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
      at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
      at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25738:74)
      at flushActQueue (.../react/cjs/react.development.js:2667:24)
      at act (.../react/cjs/react.development.js:2582:11)
      at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
      at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
      at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
      at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
      at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
      at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:58:64)
      at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
      at new Promise (<anonymous>)
      at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
      at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
      at processTicksAndRejections (node:internal/process/task_queues:105:5)
      at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
      at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
      at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
      at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
      at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
      at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
      at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
      at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
      at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12),
  type: 'unhandled exception'
}
    at console.captureMessage [as error] (.../sentry/sentry/node_modules/jest-fail-on-console/index.js:83:25)
    at VirtualConsole.<anonymous> (.../sentry/sentry/node_modules/jest-environment-jsdom/build/index.js:63:23)
    at VirtualConsole.emit (node:events:518:28)
    at reportException (.../living/helpers/runtime-script-errors.js:70:28)
    at innerInvokeEventListeners (.../living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (.../living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (.../living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (.../living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (.../living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (.../react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (.../react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
    at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25738:74)
    at flushActQueue (.../react/cjs/react.development.js:2667:24)
    at act (.../react/cjs/react.development.js:2582:11)
    at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
    at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
    at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
    at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
    at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
    at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:58:64)
    at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
    at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12)

Error: Uncaught [TypeError: Cannot read properties of undefined (reading 'isProfilingSelected')]
    at reportException (.../living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (.../living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (.../living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (.../living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (.../living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (.../living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (.../react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (.../react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
    at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25738:74)
    at flushActQueue (.../react/cjs/react.development.js:2667:24)
    at act (.../react/cjs/react.development.js:2582:11)
    at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
    at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
    at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
    at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
    at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
    at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:58:64)
    at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
    at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12) {
  detail: TypeError: Cannot read properties of undefined (reading 'isProfilingSelected')
      at getSdkSetupSnippet (.../gettingStartedDocs/node/node.tsx:874:39)
      at Object.configure (.../gettingStartedDocs/node/node.tsx:1025:17)
      at .../onboarding/gettingStartedDoc/onboardingLayout.tsx:1207:49
      at mountMemo (.../react-dom/cjs/react-dom.development.js:17225:19)
      at Object.useMemo (.../react-dom/cjs/react-dom.development.js:17670:16)
      at useMemo (.../sentry/sentry/node_modules/react/cjs/react.development.js:1650:21)
      at OnboardingLayout (.../onboarding/gettingStartedDoc/onboardingLayout.tsx:1147:11)
      at renderWithHooks (.../react-dom/cjs/react-dom.development.js:16305:18)
      at mountIndeterminateComponent (.../react-dom/cjs/react-dom.development.js:20074:13)
      at beginWork (.../react-dom/cjs/react-dom.development.js:21587:16)
      at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27426:14)
      at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
      at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
      at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
      at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25738:74)
      at flushActQueue (.../react/cjs/react.development.js:2667:24)
      at act (.../react/cjs/react.development.js:2582:11)
      at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
      at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
      at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
      at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
      at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
      at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:58:64)
      at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
      at new Promise (<anonymous>)
      at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
      at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
      at processTicksAndRejections (node:internal/process/task_queues:105:5)
      at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
      at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
      at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
      at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
      at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
      at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
      at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
      at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
      at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12),
  type: 'unhandled exception'
}
    at console.captureMessage [as error] (.../sentry/sentry/node_modules/jest-fail-on-console/index.js:83:25)
    at VirtualConsole.<anonymous> (.../sentry/sentry/node_modules/jest-environment-jsdom/build/index.js:63:23)
    at VirtualConsole.emit (node:events:518:28)
    at reportException (.../living/helpers/runtime-script-errors.js:70:28)
    at innerInvokeEventListeners (.../living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (.../living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (.../living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (.../living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (.../living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (.../react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (.../react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
    at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25738:74)
    at flushActQueue (.../react/cjs/react.development.js:2667:24)
    at act (.../react/cjs/react.development.js:2582:11)
    at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
    at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
    at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
    at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
    at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
    at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:58:64)
    at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
    at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12)

Error: Uncaught [TypeError: Cannot read properties of undefined (reading 'isProfilingSelected')]
    at reportException (.../living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (.../living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (.../living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (.../living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (.../living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (.../living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (.../react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (.../react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
    at recoverFromConcurrentError (.../react-dom/cjs/react-dom.development.js:25850:20)
    at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25750:22)
    at flushActQueue (.../react/cjs/react.development.js:2667:24)
    at act (.../react/cjs/react.development.js:2582:11)
    at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
    at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
    at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
    at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
    at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
    at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:58:64)
    at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
    at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12) {
  detail: TypeError: Cannot read properties of undefined (reading 'isProfilingSelected')
      at getSdkSetupSnippet (.../gettingStartedDocs/node/node.tsx:874:39)
      at Object.configure (.../gettingStartedDocs/node/node.tsx:1025:17)
      at .../onboarding/gettingStartedDoc/onboardingLayout.tsx:1207:49
      at mountMemo (.../react-dom/cjs/react-dom.development.js:17225:19)
      at Object.useMemo (.../react-dom/cjs/react-dom.development.js:17670:16)
      at useMemo (.../sentry/sentry/node_modules/react/cjs/react.development.js:1650:21)
      at OnboardingLayout (.../onboarding/gettingStartedDoc/onboardingLayout.tsx:1147:11)
      at renderWithHooks (.../react-dom/cjs/react-dom.development.js:16305:18)
      at mountIndeterminateComponent (.../react-dom/cjs/react-dom.development.js:20074:13)
      at beginWork (.../react-dom/cjs/react-dom.development.js:21587:16)
      at HTMLUnknownElement.callCallback (.../react-dom/cjs/react-dom.development.js:4164:14)
      at HTMLUnknownElement.callTheUserObjectsOperation (.../sentry/sentry/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
      at innerInvokeEventListeners (.../living/events/EventTarget-impl.js:350:25)
      at invokeEventListeners (.../living/events/EventTarget-impl.js:286:3)
      at HTMLUnknownElementImpl._dispatch (.../living/events/EventTarget-impl.js:233:9)
      at HTMLUnknownElementImpl.dispatchEvent (.../living/events/EventTarget-impl.js:104:17)
      at HTMLUnknownElement.dispatchEvent (.../living/generated/EventTarget.js:241:34)
      at Object.invokeGuardedCallbackDev (.../react-dom/cjs/react-dom.development.js:4213:16)
      at invokeGuardedCallback (.../react-dom/cjs/react-dom.development.js:4277:31)
      at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27451:7)
      at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
      at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
      at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
      at recoverFromConcurrentError (.../react-dom/cjs/react-dom.development.js:25850:20)
      at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25750:22)
      at flushActQueue (.../react/cjs/react.development.js:2667:24)
      at act (.../react/cjs/react.development.js:2582:11)
      at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
      at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
      at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
      at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
      at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
      at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:58:64)
      at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
      at new Promise (<anonymous>)
      at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
      at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
      at processTicksAndRejections (node:internal/process/task_queues:105:5)
      at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
      at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
      at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
      at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
      at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
      at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
      at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
      at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
      at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12),
  type: 'unhandled exception'
}
    at console.captureMessage [as error] (.../sentry/sentry/node_modules/jest-fail-on-console/index.js:83:25)
    at VirtualConsole.<anonymous> (.../sentry/sentry/node_modules/jest-environment-jsdom/build/index.js:63:23)
    at VirtualConsole.emit (node:events:518:28)
    at reportException (.../living/helpers/runtime-script-errors.js:70:28)
    at innerInvokeEventListeners (.../living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (.../living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (.../living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (.../living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (.../living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (.../react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (.../react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
    at recoverFromConcurrentError (.../react-dom/cjs/react-dom.development.js:25850:20)
    at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25750:22)
    at flushActQueue (.../react/cjs/react.development.js:2667:24)
    at act (.../react/cjs/react.development.js:2582:11)
    at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
    at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
    at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
    at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
    at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
    at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:58:64)
    at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
    at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12)

Error: Uncaught [TypeError: Cannot read properties of undefined (reading 'isProfilingSelected')]
    at reportException (.../living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (.../living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (.../living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (.../living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (.../living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (.../living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (.../react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (.../react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
    at recoverFromConcurrentError (.../react-dom/cjs/react-dom.development.js:25850:20)
    at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25750:22)
    at flushActQueue (.../react/cjs/react.development.js:2667:24)
    at act (.../react/cjs/react.development.js:2582:11)
    at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
    at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
    at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
    at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
    at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
    at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:58:64)
    at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
    at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12) {
  detail: TypeError: Cannot read properties of undefined (reading 'isProfilingSelected')
      at getSdkSetupSnippet (.../gettingStartedDocs/node/node.tsx:874:39)
      at Object.configure (.../gettingStartedDocs/node/node.tsx:1025:17)
      at .../onboarding/gettingStartedDoc/onboardingLayout.tsx:1207:49
      at mountMemo (.../react-dom/cjs/react-dom.development.js:17225:19)
      at Object.useMemo (.../react-dom/cjs/react-dom.development.js:17670:16)
      at useMemo (.../sentry/sentry/node_modules/react/cjs/react.development.js:1650:21)
      at OnboardingLayout (.../onboarding/gettingStartedDoc/onboardingLayout.tsx:1147:11)
      at renderWithHooks (.../react-dom/cjs/react-dom.development.js:16305:18)
      at mountIndeterminateComponent (.../react-dom/cjs/react-dom.development.js:20074:13)
      at beginWork (.../react-dom/cjs/react-dom.development.js:21587:16)
      at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27426:14)
      at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
      at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
      at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
      at recoverFromConcurrentError (.../react-dom/cjs/react-dom.development.js:25850:20)
      at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25750:22)
      at flushActQueue (.../react/cjs/react.development.js:2667:24)
      at act (.../react/cjs/react.development.js:2582:11)
      at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
      at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
      at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
      at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
      at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
      at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:58:64)
      at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
      at new Promise (<anonymous>)
      at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
      at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
      at processTicksAndRejections (node:internal/process/task_queues:105:5)
      at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
      at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
      at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
      at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
      at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
      at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
      at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
      at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
      at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12),
  type: 'unhandled exception'
}
    at console.captureMessage [as error] (.../sentry/sentry/node_modules/jest-fail-on-console/index.js:83:25)
    at VirtualConsole.<anonymous> (.../sentry/sentry/node_modules/jest-environment-jsdom/build/index.js:63:23)
    at VirtualConsole.emit (node:events:518:28)
    at reportException (.../living/helpers/runtime-script-errors.js:70:28)
    at innerInvokeEventListeners (.../living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (.../living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (.../living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (.../living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (.../living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (.../react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (.../react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (.../react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (.../react-dom/cjs/react-dom.development.js:26560:12)
    at workLoopSync (.../react-dom/cjs/react-dom.development.js:26466:5)
    at renderRootSync (.../react-dom/cjs/react-dom.development.js:26434:7)
    at recoverFromConcurrentError (.../react-dom/cjs/react-dom.development.js:25850:20)
    at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25750:22)
    at flushActQueue (.../react/cjs/react.development.js:2667:24)
    at act (.../react/cjs/react.development.js:2582:11)
    at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
    at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
    at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
    at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
    at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
    at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:58:64)
    at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
    at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12)

The above error occurred in the <ErrorBoundary> component:

    at ErrorBoundary (.../js/sentry-test/reactTestingLibrary.tsx:126:47)
    at RenderErrorBoundary (.../sentry/sentry/node_modules/react-router/lib/hooks.tsx:584:5)
    at routes (.../sentry/sentry/node_modules/react-router-dom/index.tsx:760:3)
    at basenameProp (.../sentry/sentry/node_modules/react-router/lib/components.tsx:413:13)
    at fallbackElement (.../sentry/sentry/node_modules/react-router-dom/index.tsx:487:3)
    at QueryClientProvider (.../sentry/sentry/node_modules/@.../react-query/src/QueryClientProvider.tsx:30:3)
    at ThemeProvider (.../sentry/sentry/node_modules/@.../react/dist/emotion-element-48d2c2e4.cjs.dev.js:125:32)
    at .../js/sentry-test/reactTestingLibrary.tsx:73:5

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 console.captureMessage [as error] (.../sentry/sentry/node_modules/jest-fail-on-console/index.js:83:25)
    at logCapturedError (.../react-dom/cjs/react-dom.development.js:18687:23)
    at update.callback (.../react-dom/cjs/react-dom.development.js:18720:5)
    at callCallback (.../react-dom/cjs/react-dom.development.js:13923:12)
    at commitUpdateQueue (.../react-dom/cjs/react-dom.development.js:13944:9)
    at commitLayoutEffectOnFiber (.../react-dom/cjs/react-dom.development.js:23391:13)
    at commitLayoutMountEffects_complete (.../react-dom/cjs/react-dom.development.js:24688:9)
    at commitLayoutEffects_begin (.../react-dom/cjs/react-dom.development.js:24674:7)
    at commitLayoutEffects (.../react-dom/cjs/react-dom.development.js:24612:3)
    at commitRootImpl (.../react-dom/cjs/react-dom.development.js:26823:5)
    at commitRoot (.../react-dom/cjs/react-dom.development.js:26682:5)
    at finishConcurrentRender (.../react-dom/cjs/react-dom.development.js:25892:9)
    at performConcurrentWorkOnRoot (.../react-dom/cjs/react-dom.development.js:25809:7)
    at flushActQueue (.../react/cjs/react.development.js:2667:24)
    at act (.../react/cjs/react.development.js:2582:11)
    at .../sentry/sentry/node_modules/@.../react/dist/act-compat.js:47:25
    at renderRoot (.../sentry/sentry/node_modules/@.../react/dist/pure.js:180:26)
    at Object.render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10)
    at render (.../js/sentry-test/reactTestingLibrary.tsx:178:14)
    at renderWithOnboardingLayout (.../sentry-test/onboarding/renderWithOnboardingLayout.tsx:41:35)
    at Object.<anonymous> (.../gettingStartedDocs/node/node.spec.tsx:58:64)
    at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
    at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12)
    at flushUnexpectedConsoleCalls (.../sentry/sentry/node_modules/jest-fail-on-console/index.js:48:13)
    at Object.<anonymous> (.../sentry/sentry/node_modules/jest-fail-on-console/index.js:139:7)
    at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (.../sentry/sentry/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusHook (.../sentry/sentry/node_modules/jest-circus/build/run.js:281:40)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at _runTest (.../sentry/sentry/node_modules/jest-circus/build/run.js:254:5)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (.../sentry/sentry/node_modules/jest-circus/build/run.js:121:9)
    at run (.../sentry/sentry/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (.../sentry/sentry/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (.../sentry/sentry/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (.../sentry/sentry/node_modules/jest-runner/build/testWorker.js:106:12)

To view more test analytics, go to the Test Analytics Dashboard
Got feedback? Let us know on Github

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant