[12팀 배성규] [Chapter 1-2] 프레임워크 없이 SPA 만들기 #116
Annotations
9 errors and 3 warnings
src/__tests__/chapter1-2/basic.test.jsx > Chapter1-2 > 기본과제 > 가상돔 만들기 > > renderElement > 이벤트 핸들러가 제거되면 더 이상 호출되지 않아야 한다:
src/__tests__/chapter1-2/basic.test.jsx#L616
AssertionError: expected "spy" to not be called at all, but actually been called 1 times
Received:
1st spy call:
Array [
MouseEvent {
"isTrusted": false,
},
]
Number of calls: 1
❯ src/__tests__/chapter1-2/basic.test.jsx:616:32
|
basic
Process completed with exit code 1.
|
src/__tests__/chapter1-1/advanced.test.js > 심화과제 테스트 > 3. 이벤트 위임 활용 > 네비게이션의 링크 클릭에서 이벤트 전파를 막았을 때, 아무일도 일어나지 않는다.:
src/__tests__/chapter1-1/advanced.test.js#L81
AssertionError: expected null to not be falsy
- Expected:
false
+ Received:
null
❯ src/__tests__/chapter1-1/advanced.test.js:81:57
|
src/__tests__/chapter1-2/advanced.post.test.jsx > Chapter1-2 > 심화과제 > 포스트 관리 > 비사용자 > > 포스트 작성 폼이 보이지 않는다:
src/__tests__/chapter1-2/advanced.post.test.jsx#L42
AssertionError: expected <textarea …(3)></textarea> to be null
- Expected:
null
+ Received:
<textarea
class="w-full p-2 border rounded"
id="post-content"
placeholder="무슨 생각을 하고 계신가요?"
/>
❯ src/__tests__/chapter1-2/advanced.post.test.jsx:42:55
|
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:
Number of calls: 0
❯ 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#L84
AssertionError: expected '<div class="flex items-center mb-2"><…' to be '<div class="flex items-center mb-2"><…' // Object.is equality
Expected: "<div class="flex items-center mb-2"><div><div class="font-bold">testuser</div><div class="text-gray-500 text-sm">방금 전</div></div></div><p>새로운 포스트입니다.</p><div class="mt-2 flex justify-between text-gray-500"><span class="like-button cursor-pointer">좋아요 0</span><span>댓글</span><span>공유</span></div>"
Received: "<div class="flex items-center mb-2"><div><div class="font-bold">홍길동</div><div class="text-gray-500 text-sm">5분 전</div></div></div><p>오늘 날씨가 정말 좋네요. 다들 좋은 하루 보내세요!</p><div class="mt-2 flex justify-between text-gray-500"><span class="like-button cursor-pointer">좋아요 0</span><span>댓글</span><span>공유</span></div>"
❯ src/__tests__/chapter1-2/advanced.post.test.jsx:84:74
|
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">좋아요 0</span>"
❯ src/__tests__/chapter1-2/advanced.post.test.jsx:98:37
|
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
|