Skip to content

[7팀 김영우] [Chapter 1-1] 프레임워크 없이 SPA 만들기 #59

[7팀 김영우] [Chapter 1-1] 프레임워크 없이 SPA 만들기

[7팀 김영우] [Chapter 1-1] 프레임워크 없이 SPA 만들기 #59

Triggered via pull request December 18, 2024 16:45
@ywkim95ywkim95
synchronize #9
Status Failure
Total duration 6m 47s
Artifacts

ci.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 3 warnings
Unhandled error: src/components/post-form.js#L9
TypeError: Cannot read properties of null (reading 'username') ❯ Module.PostForm src/components/post-form.js:9:32 ❯ Module.MainPage src/pages/main.js:8:11 ❯ src/route/route.js:7:20 ❯ Module.render [as default] src/route/render.js:3:20 ❯ Module.hashRouter src/route/router.js:33:9 ❯ src/main.js:56:45 ❯ 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 ❯ EventTargetImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9 This error originated in "src/__tests__/advanced.hashRouter.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.
Unhandled error: src/components/post-form.js#L9
TypeError: Cannot read properties of null (reading 'username') ❯ Module.PostForm src/components/post-form.js:9:32 ❯ Module.MainPage src/pages/main.js:8:11 ❯ src/route/route.js:7:20 ❯ Module.render [as default] src/route/render.js:3:20 ❯ Module.pathRouter src/route/router.js:24:9 ❯ src/main.js:55:43 ❯ 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 ❯ EventTargetImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9 This error originated in "src/__tests__/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.
Unhandled error: src/components/post-form.js#L9
TypeError: Cannot read properties of null (reading 'username') ❯ Module.PostForm src/components/post-form.js:9:32 ❯ Module.MainPage src/pages/main.js:8:11 ❯ src/route/route.js:7:20 ❯ Module.render [as default] src/route/render.js:3:20 ❯ Module.pathRouter src/route/router.js:24:9 ❯ src/main.js:55:43 ❯ 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 ❯ EventTargetImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9 This error originated in "src/__tests__/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.
Unhandled error: src/components/post-form.js#L9
TypeError: Cannot read properties of null (reading 'username') ❯ Module.PostForm src/components/post-form.js:9:32 ❯ Module.MainPage src/pages/main.js:8:11 ❯ src/route/route.js:7:20 ❯ Module.render [as default] src/route/render.js:3:20 ❯ Module.pathRouter src/route/router.js:24:9 ❯ src/main.js:55:43 ❯ 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 ❯ EventTargetImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9 This error originated in "src/__tests__/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.
src/__tests__/advanced.hashRouter.test.js > 심화과제 > 해시 라우터 테스트 > 1. 라우팅 구현 > "/" 경로로 접근하면 홈 페이지가 렌더링된다: src/__tests__/advanced.hashRouter.test.js#L26
AssertionError: expected +0 to be 1 // Object.is equality - Expected + Received - 1 + 0 ❯ src/__tests__/advanced.hashRouter.test.js:26:30
advacned
Process completed with exit code 1.
Unhandled error: src/components/post-form.js#L9
TypeError: Cannot read properties of null (reading 'username') ❯ Module.PostForm src/components/post-form.js:9:32 ❯ Module.MainPage src/pages/main.js:8:11 ❯ src/route/route.js:7:20 ❯ Module.render [as default] src/route/render.js:3:20 ❯ Module.pathRouter src/route/router.js:24:9 ❯ src/main.js:55:43 ❯ 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 ❯ EventTargetImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9 This error originated in "src/__tests__/basic.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.
src/__tests__/basic.test.js > 기본과제 테스트 > 1. 라우팅 구현 > "/" 경로로 접근하면 홈 페이지가 렌더링된다: src/__tests__/basic.test.js#L42
AssertionError: expected +0 to be 1 // Object.is equality - Expected + Received - 1 + 0 ❯ src/__tests__/basic.test.js:42:30
basic
Process completed with exit code 1.
e2e
Process completed with exit code 1.
advacned
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
basic
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
e2e
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636