[14팀 김종주] Chapter 1-1. 프레임워크 없이 SPA 만들기 #233
Annotations
10 errors and 1 warning
advanced-test:
src/layouts/Layout.js#L8
TypeError: Header is not a function
❯ Module.Layout src/layouts/Layout.js:8:9
❯ HomePage src/pages/HomePage.js:96:10
❯ router src/router.js:60:47
❯ 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
❯ fireAnEvent node_modules/jsdom/lib/jsdom/living/helpers/events.js:18:36
❯ SessionHistory._fireEvents node_modules/jsdom/lib/jsdom/living/window/SessionHistory.js:144:7
❯ fireEvents node_modules/jsdom/lib/jsdom/living/window/SessionHistory.js:133:35
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 "src/__tests__/advanced.hashRouter.test.js". 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/layouts/Layout.js#L8
TypeError: Header is not a function
❯ Module.Layout src/layouts/Layout.js:8:9
❯ HomePage src/pages/HomePage.js:96:10
❯ router src/router.js:60:47
❯ 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
❯ fireAnEvent node_modules/jsdom/lib/jsdom/living/helpers/events.js:18:36
❯ SessionHistory._fireEvents node_modules/jsdom/lib/jsdom/living/window/SessionHistory.js:144:7
❯ fireEvents node_modules/jsdom/lib/jsdom/living/window/SessionHistory.js:133:35
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 "src/__tests__/advanced.hashRouter.test.js". 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/layouts/Layout.js#L8
TypeError: Header is not a function
❯ Module.Layout src/layouts/Layout.js:8:9
❯ HomePage src/pages/HomePage.js:96:10
❯ router src/router.js:60:47
❯ 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
❯ fireAnEvent node_modules/jsdom/lib/jsdom/living/helpers/events.js:18:36
❯ SessionHistory._fireEvents node_modules/jsdom/lib/jsdom/living/window/SessionHistory.js:144:7
❯ fireEvents node_modules/jsdom/lib/jsdom/living/window/SessionHistory.js:133:35
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 "src/__tests__/advanced.hashRouter.test.js". 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/layouts/Layout.js#L8
TypeError: Header is not a function
❯ Module.Layout src/layouts/Layout.js:8:9
❯ HomePage src/pages/HomePage.js:96:10
❯ router src/router.js:60:47
❯ 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
❯ fireAnEvent node_modules/jsdom/lib/jsdom/living/helpers/events.js:18:36
❯ SessionHistory._fireEvents node_modules/jsdom/lib/jsdom/living/window/SessionHistory.js:144:7
❯ fireEvents node_modules/jsdom/lib/jsdom/living/window/SessionHistory.js:133:35
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 "src/__tests__/advanced.hashRouter.test.js". 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/layouts/Layout.js#L8
TypeError: Header is not a function
❯ Module.Layout src/layouts/Layout.js:8:9
❯ HomePage src/pages/HomePage.js:96:10
❯ router src/router.js:60:47
❯ 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
❯ EventTargetImpl.dispatchEvent node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17
❯ dispatchEvent node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34
❯ goTo src/__tests__/advanced.test.js:27:10
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.
|
advanced-test:
src/layouts/Layout.js#L8
TypeError: Header is not a function
❯ Module.Layout src/layouts/Layout.js:8:9
❯ HomePage src/pages/HomePage.js:96:10
❯ router src/router.js:60:47
❯ 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
❯ EventTargetImpl.dispatchEvent node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17
❯ dispatchEvent node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34
❯ goTo src/__tests__/advanced.test.js:27:10
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.
|
advanced-test:
src/layouts/Layout.js#L8
TypeError: Header is not a function
❯ Module.Layout src/layouts/Layout.js:8:9
❯ HomePage src/pages/HomePage.js:96:10
❯ router src/router.js:60:47
❯ 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
❯ EventTargetImpl.dispatchEvent node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17
❯ dispatchEvent node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34
❯ goTo src/__tests__/advanced.test.js:27:10
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.
|
advanced-test:
src/layouts/Layout.js#L8
TypeError: Header is not a function
❯ Module.Layout src/layouts/Layout.js:8:9
❯ HomePage src/pages/HomePage.js:96:10
❯ router src/router.js:60:47
❯ 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
❯ EventTargetImpl.dispatchEvent node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17
❯ dispatchEvent node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34
❯ goTo src/__tests__/advanced.test.js:27:10
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.
|
advanced-test:
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
|
advanced-test:
src/__tests__/advanced.hashRouter.test.js#L36
AssertionError: expected +0 to be 1 // Object.is equality
- Expected
+ Received
- 1
+ 0
❯ src/__tests__/advanced.hashRouter.test.js:36:36
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading