Skip to content

:added test for profile.jsx, form validation fix #3

:added test for profile.jsx, form validation fix

:added test for profile.jsx, form validation fix #3

Triggered via push November 16, 2024 21:43
Status Failure
Total duration 23s
Artifacts

main.yml

on: push
Build and unit test
16s
Build and unit test
Firebase deploy
0s
Firebase deploy
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Unhandled error: src/Profile.jsx#L65
TypeError: Cannot read properties of null (reading 'getPlace') ❯ handleAddressChange src/Profile.jsx:65:32 ❯ 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/Profile.test.jsx" 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 "should render the form and submit user profile data". 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.
Build and unit test
Process completed with exit code 1.