[6팀 소수지] [Chapter 1-2] 프레임워크 없이 SPA 만들기 #135
Annotations
6 errors and 3 warnings
src/__tests__/chapter1-1/advanced.test.js > 심화과제 테스트 > 3. 이벤트 위임 활용 > 네비게이션의 링크 클릭에서 이벤트 전파를 막았을 때, 아무일도 일어나지 않는다.:
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
|
src/__tests__/chapter1-2/advanced.post.test.jsx > Chapter1-2 > 심화과제 > 포스트 관리 > 비사용자 > > 포스트에 좋아요를 클릭할 경우, 경고 메세지가 발생한다.:
src/__tests__/chapter1-2/advanced.post.test.jsx#L51
AssertionError: expected "spy" to be called with arguments: [ '로그인 후 이용해주세요' ]
Received:
1st spy call:
Array [
- "로그인 후 이용해주세요",
+ "로그인 후 이용해주세요.",
]
Number of calls: 1
❯ src/__tests__/chapter1-2/advanced.post.test.jsx:51:28
|
src/__tests__/chapter1-2/advanced.post.test.jsx > Chapter1-2 > 심화과제 > 포스트 관리 > 사용자 > > 포스트에 좋아요를 클릭할 경우, 좋아요가 토글된다.:
src/__tests__/chapter1-2/advanced.post.test.jsx#L98
AssertionError: expected '<span class="like-button cursor-point…' to be '<span class="like-button cursor-point…' // Object.is equality
Expected: "<span class="like-button cursor-pointer text-blue-500">좋아요 1</span>"
Received: "<span class="like-button cursor-pointer">좋아요 1</span>"
❯ src/__tests__/chapter1-2/advanced.post.test.jsx:98:37
|
src/__tests__/chapter1-2/advanced.test.jsx > Chapter1-2 > 심화과제 > Virtual DOM과 이벤트 관리 > renderElement > > 요소의 속성만 변경되었을 때 요소를 재사용해야 한다:
src/__tests__/chapter1-2/advanced.test.jsx#L98
AssertionError: expected '<div id="test" class="old">Hello</div>' to be '<div id="test" class="new">Hello</div>' // Object.is equality
Expected: "<div id="test" class="new">Hello</div>"
Received: "<div id="test" class="old">Hello</div>"
❯ src/__tests__/chapter1-2/advanced.test.jsx:98:35
|
advacned
Process completed with exit code 1.
|
e2e
Process completed with exit code 1.
|
basic
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
advacned
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
|