Skip to content

chore: replace react-portal with react-use-portal #13682

chore: replace react-portal with react-use-portal

chore: replace react-portal with react-use-portal #13682

Triggered via pull request April 8, 2024 12:34
Status Failure
Total duration 9m 29s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
Unhandled error: src/app/base/components/TagSelector/TagSelector.tsx#L97
TypeError: onAddNewTag(...) is not a function ❯ onClick src/app/base/components/TagSelector/TagSelector.tsx:97:45 ❯ HTMLUnknownElement.callCallback node_modules/react-dom/cjs/react-dom.development.js:4164:14 ❯ HTMLUnknownElement.callTheUserObjectsOperation node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30 ❯ innerInvokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25 ❯ invokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3 ❯ HTMLUnknownElementImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9 ❯ HTMLUnknownElementImpl.dispatchEvent node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17 ❯ HTMLUnknownElement.dispatchEvent node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34 ❯ Object.invokeGuardedCallbackDev node_modules/react-dom/cjs/react-dom.development.js:4213:16 ❯ invokeGuardedCallback node_modules/react-dom/cjs/react-dom.development.js:4277:31 This error originated in "src/app/base/components/TagSelector/TagSelector.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "can call a provide function to create a new tag". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
src/app/base/components/TagSelector/TagSelector.test.tsx > TagSelector > can call a provide function to create a new tag: src/app/base/components/TagSelector/TagSelector.test.tsx#L184
Error: expect(element).toHaveValue() Expected the element to have value: Received: new-tag ❯ src/app/base/components/TagSelector/TagSelector.test.tsx:184:59
Test
Process completed with exit code 1.