[1팀 전명익] [Chapter 1-2] 프레임워크 없이 SPA 만들기 #132
Annotations
10 errors and 1 warning
advanced-test:
src/components/templates/Navigation.jsx#L15
TypeError: Cannot read properties of undefined (reading 'replace')
❯ HTMLDivElement.handleClick src/components/templates/Navigation.jsx:15:37
❯ HTMLDivElement.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
❯ HTMLSpanElementImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9
❯ fireAnEvent node_modules/jsdom/lib/jsdom/living/helpers/events.js:18:36
❯ HTMLSpanElementImpl.click node_modules/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js:85:5
❯ HTMLSpanElement.click node_modules/jsdom/lib/jsdom/living/generated/HTMLElement.js:108:34
❯ src/__tests__/chapter1-2/advanced.post.test.jsx:50:19
❯ node_modules/@vitest/runner/dist/index.js:146:14
This error originated in "src/__tests__/chapter1-2/advanced.post.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 "포스트에 좋아요를 클릭할 경우, 경고 메세지가 발생한다.". 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.
|
advanced-test:
src/components/templates/Navigation.jsx#L15
TypeError: Cannot read properties of undefined (reading 'replace')
❯ HTMLDivElement.handleClick src/components/templates/Navigation.jsx:15:37
❯ HTMLDivElement.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
❯ HTMLSpanElementImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9
❯ fireAnEvent node_modules/jsdom/lib/jsdom/living/helpers/events.js:18:36
❯ HTMLSpanElementImpl.click node_modules/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js:85:5
❯ HTMLSpanElement.click node_modules/jsdom/lib/jsdom/living/generated/HTMLElement.js:108:34
❯ src/__tests__/chapter1-2/advanced.post.test.jsx:50:19
❯ node_modules/@vitest/runner/dist/index.js:146:14
This error originated in "src/__tests__/chapter1-2/advanced.post.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 "포스트에 좋아요를 클릭할 경우, 경고 메세지가 발생한다.". 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.
|
advanced-test:
src/components/templates/Navigation.jsx#L15
TypeError: Cannot read properties of undefined (reading 'replace')
❯ HTMLDivElement.handleClick src/components/templates/Navigation.jsx:15:37
❯ HTMLDivElement.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
❯ HTMLInputElementImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9
❯ HTMLInputElementImpl.dispatchEvent node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17
❯ HTMLInputElement.dispatchEvent node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34
❯ node_modules/@testing-library/user-event/dist/esm/event/dispatchEvent.js:43:33
❯ Object.eventWrapper node_modules/@testing-library/dom/dist/config.js:25:23
❯ wrapEvent node_modules/@testing-library/user-event/dist/esm/event/wrapEvent.js:4:24
This error originated in "src/__tests__/chapter1-1/advanced.test.js" 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 "로그인된 사용자가 로그인 페이지에 접근시 메인 페이지로 리다이렉트 한다.". 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.
|
advanced-test:
src/components/templates/Navigation.jsx#L15
TypeError: Cannot read properties of undefined (reading 'replace')
❯ HTMLDivElement.handleClick src/components/templates/Navigation.jsx:15:37
❯ HTMLDivElement.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
❯ HTMLInputElementImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9
❯ HTMLInputElementImpl.dispatchEvent node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17
❯ HTMLInputElement.dispatchEvent node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34
❯ node_modules/@testing-library/user-event/dist/esm/event/dispatchEvent.js:43:33
❯ Object.eventWrapper node_modules/@testing-library/dom/dist/config.js:25:23
❯ wrapEvent node_modules/@testing-library/user-event/dist/esm/event/wrapEvent.js:4:24
This error originated in "src/__tests__/chapter1-2/advanced.post.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 "포스트 작성 폼이 보인다.". 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.
|
advanced-test:
src/components/templates/Navigation.jsx#L15
TypeError: Cannot read properties of undefined (reading 'replace')
❯ HTMLDivElement.handleClick src/components/templates/Navigation.jsx:15:37
❯ HTMLDivElement.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
❯ HTMLInputElementImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9
❯ HTMLInputElementImpl.dispatchEvent node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17
❯ HTMLInputElement.dispatchEvent node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34
❯ node_modules/@testing-library/user-event/dist/esm/event/dispatchEvent.js:43:33
❯ Object.eventWrapper node_modules/@testing-library/dom/dist/config.js:25:23
❯ wrapEvent node_modules/@testing-library/user-event/dist/esm/event/wrapEvent.js:4:24
This error originated in "src/__tests__/chapter1-1/advanced.test.js" 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 "로그인된 사용자가 로그인 페이지에 접근시 메인 페이지로 리다이렉트 한다.". 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.
|
advanced-test:
src/components/templates/Navigation.jsx#L15
TypeError: Cannot read properties of undefined (reading 'replace')
❯ HTMLDivElement.handleClick src/components/templates/Navigation.jsx:15:37
❯ HTMLDivElement.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
❯ HTMLInputElementImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9
❯ HTMLInputElementImpl.dispatchEvent node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17
❯ HTMLInputElement.dispatchEvent node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34
❯ node_modules/@testing-library/user-event/dist/esm/event/dispatchEvent.js:43:33
❯ Object.eventWrapper node_modules/@testing-library/dom/dist/config.js:25:23
❯ wrapEvent node_modules/@testing-library/user-event/dist/esm/event/wrapEvent.js:4:24
This error originated in "src/__tests__/chapter1-2/advanced.post.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 "포스트 작성 폼이 보인다.". 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.
|
advanced-test:
src/components/templates/Navigation.jsx#L15
TypeError: Cannot read properties of undefined (reading 'replace')
❯ HTMLDivElement.handleClick src/components/templates/Navigation.jsx:15:37
❯ HTMLDivElement.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
❯ HTMLInputElementImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9
❯ HTMLInputElementImpl.dispatchEvent node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17
❯ HTMLInputElement.dispatchEvent node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34
❯ node_modules/@testing-library/user-event/dist/esm/event/dispatchEvent.js:43:33
❯ Object.eventWrapper node_modules/@testing-library/dom/dist/config.js:25:23
❯ wrapEvent node_modules/@testing-library/user-event/dist/esm/event/wrapEvent.js:4:24
This error originated in "src/__tests__/chapter1-1/advanced.test.js" 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 "로그인된 사용자가 로그인 페이지에 접근시 메인 페이지로 리다이렉트 한다.". 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.
|
advanced-test:
src/components/templates/Navigation.jsx#L15
TypeError: Cannot read properties of undefined (reading 'replace')
❯ HTMLDivElement.handleClick src/components/templates/Navigation.jsx:15:37
❯ HTMLDivElement.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
❯ HTMLInputElementImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9
❯ HTMLInputElementImpl.dispatchEvent node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17
❯ HTMLInputElement.dispatchEvent node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34
❯ node_modules/@testing-library/user-event/dist/esm/event/dispatchEvent.js:43:33
❯ Object.eventWrapper node_modules/@testing-library/dom/dist/config.js:25:23
❯ wrapEvent node_modules/@testing-library/user-event/dist/esm/event/wrapEvent.js:4:24
This error originated in "src/__tests__/chapter1-1/advanced.test.js" 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 "로그인된 사용자가 로그인 페이지에 접근시 메인 페이지로 리다이렉트 한다.". 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.
|
advanced-test:
src/pages/LoginPage.jsx#L18
TypeError: Cannot read properties of null (reading 'value')
❯ HTMLDivElement.handleSubmit src/pages/LoginPage.jsx:18:56
❯ HTMLDivElement.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
❯ HTMLFormElementImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9
❯ HTMLFormElementImpl.dispatchEvent node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17
❯ HTMLFormElement.dispatchEvent node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34
❯ src/__tests__/chapter1-1/advanced.test.js:56:17
❯ node_modules/@vitest/runner/dist/index.js:533:5
❯ runTest node_modules/@vitest/runner/dist/index.js:1056:11
This error originated in "src/__tests__/chapter1-1/advanced.test.js" 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 "로그인된 사용자가 로그인 페이지에 접근시 메인 페이지로 리다이렉트 한다.". 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.
|
advanced-test:
src/__tests__/chapter1-1/advanced.test.js#L73
TypeError: Cannot read properties of null (reading 'addEventListener')
❯ src/__tests__/chapter1-1/advanced.test.js:73:19
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading