The EnvironmentSearch tests are currently failing (I cannot tell when this started or if this has always been the case.
I noticed this when making changes to the workflows as the husky pre commits run th tests on ever commit the
Expected behavior
All tests pass
How to Reproduce the problem?
Add a new commit or alternatively run the unit tests
Output
Error output
Details
Summary of all failing tests
FAIL test/environments/EnvironmentSearch.test.tsx (13.903 s)
● › should render
could not find react-redux context value; please ensure the component is wrapped in a
16 | const logoutUrl = prefs.logoutUrl;
17 |
> 18 | const [triggerAuthQuery] = useLazyGetAuthQuery();
| ^
19 | const [triggerLogout] = useLogoutMutation();
20 | const [triggerLogin] = useLoginMutation();
21 |
at useReduxContext (node_modules/react-redux/lib/hooks/useReduxContext.js:30:11)
at useReduxContext (node_modules/react-redux/lib/hooks/useStore.js:25:9)
at useStore (node_modules/react-redux/lib/hooks/useDispatch.js:21:19)
at useDispatch (node_modules/@reduxjs/toolkit/src/query/react/buildHooks.ts:821:24)
at useLazyQuerySubscription (node_modules/@reduxjs/toolkit/src/query/react/buildHooks.ts:949:32)
at AuthButton (src/features/auth/components/authButton.tsx:18:49)
at Component (node_modules/react-dom/cjs/react-dom.development.js:16305:18)
at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:20074:13)
at mountIndeterminateComponent (node_modules/react-dom/cjs/react-dom.development.js:21587:16)
at beginWork (node_modules/react-dom/cjs/react-dom.development.js:27426:14)
at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:26560:12)
at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26466:5)
at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26434:7)
at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:25850:20)
at recoverFromConcurrentError (node_modules/react-dom/cjs/react-dom.development.js:25750:22)
at callback (node_modules/react/cjs/react.development.js:2667:24)
at flushActQueue (node_modules/react/cjs/react.development.js:2582:11)
at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
at Object. (test/environments/EnvironmentSearch.test.tsx:10:23)
● › should fire onChange event correctly
could not find react-redux context value; please ensure the component is wrapped in a
16 | const logoutUrl = prefs.logoutUrl;
17 |
> 18 | const [triggerAuthQuery] = useLazyGetAuthQuery();
| ^
19 | const [triggerLogout] = useLogoutMutation();
20 | const [triggerLogin] = useLoginMutation();
21 |
at useReduxContext (node_modules/react-redux/lib/hooks/useReduxContext.js:30:11)
at useReduxContext (node_modules/react-redux/lib/hooks/useStore.js:25:9)
at useStore (node_modules/react-redux/lib/hooks/useDispatch.js:21:19)
at useDispatch (node_modules/@reduxjs/toolkit/src/query/react/buildHooks.ts:821:24)
at useLazyQuerySubscription (node_modules/@reduxjs/toolkit/src/query/react/buildHooks.ts:949:32)
at AuthButton (src/features/auth/components/authButton.tsx:18:49)
at Component (node_modules/react-dom/cjs/react-dom.development.js:16305:18)
at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:20074:13)
at mountIndeterminateComponent (node_modules/react-dom/cjs/react-dom.development.js:21587:16)
at beginWork (node_modules/react-dom/cjs/react-dom.development.js:27426:14)
at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:26560:12)
at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26466:5)
at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26434:7)
at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:25850:20)
at recoverFromConcurrentError (node_modules/react-dom/cjs/react-dom.development.js:25750:22)
at callback (node_modules/react/cjs/react.development.js:2667:24)
at flushActQueue (node_modules/react/cjs/react.development.js:2582:11)
at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
at Object. (test/environments/EnvironmentSearch.test.tsx:10:23)
Details
● Console
console.error
Error: Uncaught [TypeError: onSpecificationIsChanged is not a function]
at reportException (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
at innerInvokeEventListeners (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
at invokeEventListeners (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
at apply (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
at apply (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:4291:25)
at invokeGuardedCallbackAndCatchFirstError (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:9041:3) {
detail: TypeError: onSpecificationIsChanged is not a function
at onSpecificationIsChanged (/Users/tania/Documents/github/conda-store/conda-store-ui/src/features/environmentDetails/components/Specification/SpecificationEdit.tsx:135:5)
at HTMLUnknownElement.apply (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
at HTMLUnknownElement.callTheUserObjectsOperation (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
at apply (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
at apply (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:4291:25)
at invokeGuardedCallbackAndCatchFirstError (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:9041:3)
at executeDispatch (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:9073:7)
at processDispatchQueueItemsInOrder (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:9086:5)
at processDispatchQueue (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:9097:3)
at dispatchEventsForPlugins (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:9288:12)
at fn (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:26140:12)
at batchedUpdatesImpl (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:3991:12)
at batchedUpdates (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:9287:3)
at dispatchEventForPluginEventSystem (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:6465:5)
at dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:6457:5)
at dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:6430:5)
at HTMLDivElement.callTheUserObjectsOperation (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLButtonElementImpl._dispatch (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLButtonElementImpl.dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLButtonElement.dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/dom/dist/events.js:19:20)
at cb (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/react/dist/pure.js:79:16)
at callback (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/react/dist/act-compat.js:64:24)
at callback (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react/cjs/react.development.js:2512:16)
at actImplementation (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/react/dist/act-compat.js:63:25)
at Object.eventWrapper (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/react/dist/pure.js:78:27)
at eventWrapper (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/dom/dist/events.js:12:35)
at Function.fireEvent [as click] (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/dom/dist/events.js:110:36)
at Function.apply (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/react/dist/fire-event.js:18:52)
at Object.click (/Users/tania/Documents/github/conda-store/conda-store-ui/test/environmentDetails/SpecificationEdit.test.tsx:80:15)
at Promise.then.completed (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/utils.js:333:28)
at new Promise ()
at callAsyncCircusFn (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/utils.js:259:10)
at _callCircusTest (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/run.js:277:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/run.js:209:3)
at _runTestsForDescribeBlock (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/run.js:97:9)
at _runTestsForDescribeBlock (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/run.js:91:9)
at run (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/run.js:31:3)
at runAndTransformResultsToJestFormat (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:135:21),
type: 'unhandled exception'
}
at VirtualConsole. (node_modules/jest-environment-jsdom/build/index.js:73:23)
at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
console.error
Error: Uncaught [TypeError: onSpecificationIsChanged is not a function]
at reportException (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
at innerInvokeEventListeners (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
at invokeEventListeners (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLButtonElementImpl._dispatch (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLButtonElementImpl.dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLButtonElement.dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/dom/dist/events.js:19:20)
at cb (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/react/dist/pure.js:79:16)
at callback (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/react/dist/act-compat.js:64:24)
at callback (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react/cjs/react.development.js:2512:16) {
detail: TypeError: onSpecificationIsChanged is not a function
at onSpecificationIsChanged (/Users/tania/Documents/github/conda-store/conda-store-ui/src/features/environmentDetails/components/Specification/SpecificationEdit.tsx:135:5)
at HTMLUnknownElement.apply (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
at HTMLUnknownElement.callTheUserObjectsOperation (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
at apply (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
at apply (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:4291:25)
at invokeGuardedCallbackAndCatchFirstError (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:9041:3)
at executeDispatch (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:9073:7)
at processDispatchQueueItemsInOrder (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:9086:5)
at processDispatchQueue (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:9097:3)
at dispatchEventsForPlugins (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:9288:12)
at fn (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:26140:12)
at batchedUpdatesImpl (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:3991:12)
at batchedUpdates (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:9287:3)
at dispatchEventForPluginEventSystem (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:6465:5)
at dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:6457:5)
at dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:6430:5)
at HTMLDivElement.callTheUserObjectsOperation (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLButtonElementImpl._dispatch (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLButtonElementImpl.dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLButtonElement.dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/dom/dist/events.js:19:20)
at cb (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/react/dist/pure.js:79:16)
at callback (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/react/dist/act-compat.js:64:24)
at callback (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react/cjs/react.development.js:2512:16)
at actImplementation (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/react/dist/act-compat.js:63:25)
at Object.eventWrapper (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/react/dist/pure.js:78:27)
at eventWrapper (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/dom/dist/events.js:12:35)
at Function.fireEvent [as click] (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/dom/dist/events.js:110:36)
at Function.apply (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/react/dist/fire-event.js:18:52)
at Object.click (/Users/tania/Documents/github/conda-store/conda-store-ui/test/environmentDetails/SpecificationEdit.test.tsx:80:15)
at Promise.then.completed (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/utils.js:333:28)
at new Promise ()
at callAsyncCircusFn (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/utils.js:259:10)
at _callCircusTest (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/run.js:277:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/run.js:209:3)
at _runTestsForDescribeBlock (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/run.js:97:9)
at _runTestsForDescribeBlock (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/run.js:91:9)
at run (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/run.js:31:3)
at runAndTransformResultsToJestFormat (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:135:21),
type: 'unhandled exception'
}
at VirtualConsole. (node_modules/jest-environment-jsdom/build/index.js:73:23)
at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLButtonElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLButtonElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLButtonElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
Describe the bug
The
EnvironmentSearch
tests are currently failing (I cannot tell when this started or if this has always been the case.I noticed this when making changes to the workflows as the husky pre commits run th tests on ever commit the
Expected behavior
All tests pass
How to Reproduce the problem?
Add a new commit or alternatively run the unit tests
Output
Error output
Details
Summary of all failing tests FAIL test/environments/EnvironmentSearch.test.tsx (13.903 s) ● › should render
could not find react-redux context value; please ensure the component is wrapped in a
16 | const logoutUrl = prefs.logoutUrl;
17 |
> 18 | const [triggerAuthQuery] = useLazyGetAuthQuery();
| ^
19 | const [triggerLogout] = useLogoutMutation();
20 | const [triggerLogin] = useLoginMutation();
21 |
at useReduxContext (node_modules/react-redux/lib/hooks/useReduxContext.js:30:11)
at useReduxContext (node_modules/react-redux/lib/hooks/useStore.js:25:9)
at useStore (node_modules/react-redux/lib/hooks/useDispatch.js:21:19)
at useDispatch (node_modules/@reduxjs/toolkit/src/query/react/buildHooks.ts:821:24)
at useLazyQuerySubscription (node_modules/@reduxjs/toolkit/src/query/react/buildHooks.ts:949:32)
at AuthButton (src/features/auth/components/authButton.tsx:18:49)
at Component (node_modules/react-dom/cjs/react-dom.development.js:16305:18)
at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:20074:13)
at mountIndeterminateComponent (node_modules/react-dom/cjs/react-dom.development.js:21587:16)
at beginWork (node_modules/react-dom/cjs/react-dom.development.js:27426:14)
at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:26560:12)
at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26466:5)
at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26434:7)
at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:25850:20)
at recoverFromConcurrentError (node_modules/react-dom/cjs/react-dom.development.js:25750:22)
at callback (node_modules/react/cjs/react.development.js:2667:24)
at flushActQueue (node_modules/react/cjs/react.development.js:2582:11)
at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
at Object. (test/environments/EnvironmentSearch.test.tsx:10:23)
● › should fire onChange event correctly
could not find react-redux context value; please ensure the component is wrapped in a
16 | const logoutUrl = prefs.logoutUrl;
17 |
> 18 | const [triggerAuthQuery] = useLazyGetAuthQuery();
| ^
19 | const [triggerLogout] = useLogoutMutation();
20 | const [triggerLogin] = useLoginMutation();
21 |
at useReduxContext (node_modules/react-redux/lib/hooks/useReduxContext.js:30:11)
at useReduxContext (node_modules/react-redux/lib/hooks/useStore.js:25:9)
at useStore (node_modules/react-redux/lib/hooks/useDispatch.js:21:19)
at useDispatch (node_modules/@reduxjs/toolkit/src/query/react/buildHooks.ts:821:24)
at useLazyQuerySubscription (node_modules/@reduxjs/toolkit/src/query/react/buildHooks.ts:949:32)
at AuthButton (src/features/auth/components/authButton.tsx:18:49)
at Component (node_modules/react-dom/cjs/react-dom.development.js:16305:18)
at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:20074:13)
at mountIndeterminateComponent (node_modules/react-dom/cjs/react-dom.development.js:21587:16)
at beginWork (node_modules/react-dom/cjs/react-dom.development.js:27426:14)
at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:26560:12)
at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26466:5)
at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26434:7)
at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:25850:20)
at recoverFromConcurrentError (node_modules/react-dom/cjs/react-dom.development.js:25750:22)
at callback (node_modules/react/cjs/react.development.js:2667:24)
at flushActQueue (node_modules/react/cjs/react.development.js:2582:11)
at actImplementation (node_modules/@testing-library/react/dist/act-compat.js:63:25)
at renderRoot (node_modules/@testing-library/react/dist/pure.js:159:25)
at renderRoot (node_modules/@testing-library/react/dist/pure.js:246:10)
at Object. (test/environments/EnvironmentSearch.test.tsx:10:23)
Details
● Console console.error Error: Uncaught [TypeError: onSpecificationIsChanged is not a function] at reportException (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24) at innerInvokeEventListeners (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9) at invokeEventListeners (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3) at HTMLUnknownElementImpl._dispatch (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9) at HTMLUnknownElementImpl.dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17) at HTMLUnknownElement.dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34) at Object.dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:4213:16) at apply (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:4277:31) at apply (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:4291:25) at invokeGuardedCallbackAndCatchFirstError (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:9041:3) { detail: TypeError: onSpecificationIsChanged is not a function at onSpecificationIsChanged (/Users/tania/Documents/github/conda-store/conda-store-ui/src/features/environmentDetails/components/Specification/SpecificationEdit.tsx:135:5) at HTMLUnknownElement.apply (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:4164:14) at HTMLUnknownElement.callTheUserObjectsOperation (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30) at innerInvokeEventListeners (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25) at invokeEventListeners (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3) at HTMLUnknownElementImpl._dispatch (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9) at HTMLUnknownElementImpl.dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17) at HTMLUnknownElement.dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34) at Object.dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:4213:16) at apply (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:4277:31) at apply (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:4291:25) at invokeGuardedCallbackAndCatchFirstError (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:9041:3) at executeDispatch (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:9073:7) at processDispatchQueueItemsInOrder (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:9086:5) at processDispatchQueue (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:9097:3) at dispatchEventsForPlugins (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:9288:12) at fn (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:26140:12) at batchedUpdatesImpl (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:3991:12) at batchedUpdates (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:9287:3) at dispatchEventForPluginEventSystem (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:6465:5) at dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:6457:5) at dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:6430:5) at HTMLDivElement.callTheUserObjectsOperation (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30) at innerInvokeEventListeners (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25) at invokeEventListeners (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3) at HTMLButtonElementImpl._dispatch (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9) at HTMLButtonElementImpl.dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17) at HTMLButtonElement.dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34) at dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/dom/dist/events.js:19:20) at cb (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/react/dist/pure.js:79:16) at callback (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/react/dist/act-compat.js:64:24) at callback (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react/cjs/react.development.js:2512:16) at actImplementation (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/react/dist/act-compat.js:63:25) at Object.eventWrapper (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/react/dist/pure.js:78:27) at eventWrapper (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/dom/dist/events.js:12:35) at Function.fireEvent [as click] (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/dom/dist/events.js:110:36) at Function.apply (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/react/dist/fire-event.js:18:52) at Object.click (/Users/tania/Documents/github/conda-store/conda-store-ui/test/environmentDetails/SpecificationEdit.test.tsx:80:15) at Promise.then.completed (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/utils.js:333:28) at new Promise ()
at callAsyncCircusFn (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/utils.js:259:10)
at _callCircusTest (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/run.js:277:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/run.js:209:3)
at _runTestsForDescribeBlock (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/run.js:97:9)
at _runTestsForDescribeBlock (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/run.js:91:9)
at run (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/run.js:31:3)
at runAndTransformResultsToJestFormat (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:135:21),
type: 'unhandled exception'
}
at VirtualConsole. (node_modules/jest-environment-jsdom/build/index.js:73:23)
at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
console.error
Error: Uncaught [TypeError: onSpecificationIsChanged is not a function]
at reportException (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
at innerInvokeEventListeners (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
at invokeEventListeners (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLButtonElementImpl._dispatch (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLButtonElementImpl.dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLButtonElement.dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/dom/dist/events.js:19:20)
at cb (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/react/dist/pure.js:79:16)
at callback (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/react/dist/act-compat.js:64:24)
at callback (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react/cjs/react.development.js:2512:16) {
detail: TypeError: onSpecificationIsChanged is not a function
at onSpecificationIsChanged (/Users/tania/Documents/github/conda-store/conda-store-ui/src/features/environmentDetails/components/Specification/SpecificationEdit.tsx:135:5)
at HTMLUnknownElement.apply (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
at HTMLUnknownElement.callTheUserObjectsOperation (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
at apply (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
at apply (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:4291:25)
at invokeGuardedCallbackAndCatchFirstError (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:9041:3)
at executeDispatch (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:9073:7)
at processDispatchQueueItemsInOrder (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:9086:5)
at processDispatchQueue (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:9097:3)
at dispatchEventsForPlugins (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:9288:12)
at fn (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:26140:12)
at batchedUpdatesImpl (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:3991:12)
at batchedUpdates (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:9287:3)
at dispatchEventForPluginEventSystem (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:6465:5)
at dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:6457:5)
at dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react-dom/cjs/react-dom.development.js:6430:5)
at HTMLDivElement.callTheUserObjectsOperation (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLButtonElementImpl._dispatch (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLButtonElementImpl.dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLButtonElement.dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at dispatchEvent (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/dom/dist/events.js:19:20)
at cb (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/react/dist/pure.js:79:16)
at callback (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/react/dist/act-compat.js:64:24)
at callback (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/react/cjs/react.development.js:2512:16)
at actImplementation (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/react/dist/act-compat.js:63:25)
at Object.eventWrapper (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/react/dist/pure.js:78:27)
at eventWrapper (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/dom/dist/events.js:12:35)
at Function.fireEvent [as click] (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/dom/dist/events.js:110:36)
at Function.apply (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/@testing-library/react/dist/fire-event.js:18:52)
at Object.click (/Users/tania/Documents/github/conda-store/conda-store-ui/test/environmentDetails/SpecificationEdit.test.tsx:80:15)
at Promise.then.completed (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/utils.js:333:28)
at new Promise ()
at callAsyncCircusFn (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/utils.js:259:10)
at _callCircusTest (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/run.js:277:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/run.js:209:3)
at _runTestsForDescribeBlock (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/run.js:97:9)
at _runTestsForDescribeBlock (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/run.js:91:9)
at run (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/run.js:31:3)
at runAndTransformResultsToJestFormat (/Users/tania/Documents/github/conda-store/conda-store-ui/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:135:21),
type: 'unhandled exception'
}
at VirtualConsole. (node_modules/jest-environment-jsdom/build/index.js:73:23)
at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLButtonElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLButtonElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLButtonElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
Versions and dependencies used.
Anything else?
No response