getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
39.22k stars 4.21k forks source link

ref(issue-details): Allows replays section to reflect filters #81128

Open leeandher opened 7 hours ago

leeandher commented 7 hours ago

Uses the issue details query to ensure replays reflect the queries set above in the new UI.

Things to do:

image image
codecov[bot] commented 6 hours ago

Bundle Report

Changes will increase total bundle size by 16.32kB (0.05%) :arrow_up:. This is within the configured threshold :white_check_mark:

Detailed changes | Bundle name | Size | Change | | ----------- | ---- | ------ | | app-webpack-bundle-array-push | 31.97MB | 16.32kB (0.05%) :arrow_up: |
codecov[bot] commented 6 hours ago

:x: 12 Tests Failed:

Tests completed Failed Passed Skipped
8245 12 8233 0
View the top 3 failed tests by shortest run time > > ```python > useReplaysFromIssue should fetch a list of replay ids for a performance issue > ``` > >
Stack Traces | 0.013s run time > > > > > ```python > > 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 [Error: useOrganization called but organization is not set.] > > 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 render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10) > > at renderHook (.../sentry/sentry/node_modules/@.../react/dist/pure.js:318:7) > > at Object. (.../issueDetails/groupReplays/useReplaysFromIssue.spec.tsx:78:45) > > at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28) > > at new Promise () > > 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: Error: useOrganization called but organization is not set. > > at useOrganization (.../app/utils/useOrganization.tsx:275:11) > > at useHasStreamlinedUI (.../views/issueDetails/utils.tsx:2853:11) > > at useReplaysFromIssue (.../issueDetails/groupReplays/useReplaysFromIssue.tsx:748:23) > > at TestComponent (.../sentry/sentry/node_modules/@.../react/dist/pure.js:309:27) > > 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 render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10) > > at renderHook (.../sentry/sentry/node_modules/@.../react/dist/pure.js:318:7) > > at Object. (.../issueDetails/groupReplays/useReplaysFromIssue.spec.tsx:78:45) > > at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28) > > at new Promise () > > 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. (.../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 render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10) > > at renderHook (.../sentry/sentry/node_modules/@.../react/dist/pure.js:318:7) > > at Object. (.../issueDetails/groupReplays/useReplaysFromIssue.spec.tsx:78:45) > > at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28) > > at new Promise () > > 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 [Error: useOrganization called but organization is not set.] > > 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 render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10) > > at renderHook (.../sentry/sentry/node_modules/@.../react/dist/pure.js:318:7) > > at Object. (.../issueDetails/groupReplays/useReplaysFromIssue.spec.tsx:78:45) > > at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28) > > at new Promise () > > 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: Error: useOrganization called but organization is not set. > > at useOrganization (.../app/utils/useOrganization.tsx:275:11) > > at useHasStreamlinedUI (.../views/issueDetails/utils.tsx:2853:11) > > at useReplaysFromIssue (.../issueDetails/groupReplays/useReplaysFromIssue.tsx:748:23) > > at TestComponent (.../sentry/sentry/node_modules/@.../react/dist/pure.js:309:27) > > 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 render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10) > > at renderHook (.../sentry/sentry/node_modules/@.../react/dist/pure.js:318:7) > > at Object. (.../issueDetails/groupReplays/useReplaysFromIssue.spec.tsx:78:45) > > at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28) > > at new Promise () > > 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. (.../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 render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10) > > at renderHook (.../sentry/sentry/node_modules/@.../react/dist/pure.js:318:7) > > at Object. (.../issueDetails/groupReplays/useReplaysFromIssue.spec.tsx:78:45) > > at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28) > > at new Promise () > > 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 component: > > > > at TestComponent (.../sentry/sentry/node_modules/@.../react/dist/pure.js:307: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 render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10) > > at renderHook (.../sentry/sentry/node_modules/@.../react/dist/pure.js:318:7) > > at Object. (.../issueDetails/groupReplays/useReplaysFromIssue.spec.tsx:78:45) > > at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28) > > at new Promise () > > 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. (.../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 () > > 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) > > ``` > >
useReplaysFromIssue should return an empty EventView when there are no replay_ids returned from the count endpoint
Stack Traces | 0.013s run time > > ```python > 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 [Error: useOrganization called but organization is not set.] > 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 render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10) > at renderHook (.../sentry/sentry/node_modules/@.../react/dist/pure.js:318:7) > at Object. (.../issueDetails/groupReplays/useReplaysFromIssue.spec.tsx:109:45) > at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28) > at new Promise () > 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: Error: useOrganization called but organization is not set. > at useOrganization (.../app/utils/useOrganization.tsx:275:11) > at useHasStreamlinedUI (.../views/issueDetails/utils.tsx:2853:11) > at useReplaysFromIssue (.../issueDetails/groupReplays/useReplaysFromIssue.tsx:748:23) > at TestComponent (.../sentry/sentry/node_modules/@.../react/dist/pure.js:309:27) > 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 render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10) > at renderHook (.../sentry/sentry/node_modules/@.../react/dist/pure.js:318:7) > at Object. (.../issueDetails/groupReplays/useReplaysFromIssue.spec.tsx:109:45) > at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28) > at new Promise () > 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. (.../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 render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10) > at renderHook (.../sentry/sentry/node_modules/@.../react/dist/pure.js:318:7) > at Object. (.../issueDetails/groupReplays/useReplaysFromIssue.spec.tsx:109:45) > at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28) > at new Promise () > 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 [Error: useOrganization called but organization is not set.] > 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 render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10) > at renderHook (.../sentry/sentry/node_modules/@.../react/dist/pure.js:318:7) > at Object. (.../issueDetails/groupReplays/useReplaysFromIssue.spec.tsx:109:45) > at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28) > at new Promise () > 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: Error: useOrganization called but organization is not set. > at useOrganization (.../app/utils/useOrganization.tsx:275:11) > at useHasStreamlinedUI (.../views/issueDetails/utils.tsx:2853:11) > at useReplaysFromIssue (.../issueDetails/groupReplays/useReplaysFromIssue.tsx:748:23) > at TestComponent (.../sentry/sentry/node_modules/@.../react/dist/pure.js:309:27) > 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 render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10) > at renderHook (.../sentry/sentry/node_modules/@.../react/dist/pure.js:318:7) > at Object. (.../issueDetails/groupReplays/useReplaysFromIssue.spec.tsx:109:45) > at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28) > at new Promise () > 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. (.../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 render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10) > at renderHook (.../sentry/sentry/node_modules/@.../react/dist/pure.js:318:7) > at Object. (.../issueDetails/groupReplays/useReplaysFromIssue.spec.tsx:109:45) > at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28) > at new Promise () > 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 component: > > at TestComponent (.../sentry/sentry/node_modules/@.../react/dist/pure.js:307: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 render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10) > at renderHook (.../sentry/sentry/node_modules/@.../react/dist/pure.js:318:7) > at Object. (.../issueDetails/groupReplays/useReplaysFromIssue.spec.tsx:109:45) > at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28) > at new Promise () > 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. (.../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 () > 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) > ```
useReplaysFromIssue should fetch a list of replay ids
Stack Traces | 0.052s run time > > ```python > 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 [Error: useOrganization called but organization is not set.] > 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 render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10) > at renderHook (.../sentry/sentry/node_modules/@.../react/dist/pure.js:318:7) > at Object. (.../issueDetails/groupReplays/useReplaysFromIssue.spec.tsx:43:45) > at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28) > at new Promise () > 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: Error: useOrganization called but organization is not set. > at useOrganization (.../app/utils/useOrganization.tsx:275:11) > at useHasStreamlinedUI (.../views/issueDetails/utils.tsx:2853:11) > at useReplaysFromIssue (.../issueDetails/groupReplays/useReplaysFromIssue.tsx:748:23) > at TestComponent (.../sentry/sentry/node_modules/@.../react/dist/pure.js:309:27) > 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 render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10) > at renderHook (.../sentry/sentry/node_modules/@.../react/dist/pure.js:318:7) > at Object. (.../issueDetails/groupReplays/useReplaysFromIssue.spec.tsx:43:45) > at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28) > at new Promise () > 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. (.../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 render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10) > at renderHook (.../sentry/sentry/node_modules/@.../react/dist/pure.js:318:7) > at Object. (.../issueDetails/groupReplays/useReplaysFromIssue.spec.tsx:43:45) > at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28) > at new Promise () > 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 [Error: useOrganization called but organization is not set.] > 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 render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10) > at renderHook (.../sentry/sentry/node_modules/@.../react/dist/pure.js:318:7) > at Object. (.../issueDetails/groupReplays/useReplaysFromIssue.spec.tsx:43:45) > at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28) > at new Promise () > 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: Error: useOrganization called but organization is not set. > at useOrganization (.../app/utils/useOrganization.tsx:275:11) > at useHasStreamlinedUI (.../views/issueDetails/utils.tsx:2853:11) > at useReplaysFromIssue (.../issueDetails/groupReplays/useReplaysFromIssue.tsx:748:23) > at TestComponent (.../sentry/sentry/node_modules/@.../react/dist/pure.js:309:27) > 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 render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10) > at renderHook (.../sentry/sentry/node_modules/@.../react/dist/pure.js:318:7) > at Object. (.../issueDetails/groupReplays/useReplaysFromIssue.spec.tsx:43:45) > at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28) > at new Promise () > 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. (.../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 render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10) > at renderHook (.../sentry/sentry/node_modules/@.../react/dist/pure.js:318:7) > at Object. (.../issueDetails/groupReplays/useReplaysFromIssue.spec.tsx:43:45) > at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28) > at new Promise () > 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 component: > > at TestComponent (.../sentry/sentry/node_modules/@.../react/dist/pure.js:307: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 render (.../sentry/sentry/node_modules/@.../react/dist/pure.js:271:10) > at renderHook (.../sentry/sentry/node_modules/@.../react/dist/pure.js:318:7) > at Object. (.../issueDetails/groupReplays/useReplaysFromIssue.spec.tsx:43:45) > at Promise.then.completed (.../sentry/sentry/node_modules/jest-circus/build/utils.js:298:28) > at new Promise () > 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. (.../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 () > 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