[6팀 소수지] [Chapter 1-2] 프레임워크 없이 SPA 만들기 #134
Annotations
10 errors and 1 warning
test basic:
src/__tests__/chapter1-1/basic.test.js#L86
AssertionError: expected null to deeply equal '{"username":"testuser","email":"","bi…'
- Expected:
"{\"username\":\"testuser\",\"email\":\"\",\"bio\":\"\"}"
+ Received:
null
❯ src/__tests__/chapter1-1/basic.test.js:86:44
|
test basic:
src/__tests__/chapter1-1/basic.test.js#L117
AssertionError: expected 'testusertestuser' to be 'testuser' // Object.is equality
Expected: "testuser"
Received: "testusertestuser"
❯ src/__tests__/chapter1-1/basic.test.js:117:57
|
test basic:
src/__tests__/chapter1-1/basic.test.js#L113
TypeError: Cannot read properties of null (reading 'click')
❯ src/__tests__/chapter1-1/basic.test.js:113:40
|
test basic:
src/__tests__/chapter1-1/basic.test.js#L126
TypeError: Cannot set properties of null (setting 'value')
❯ src/__tests__/chapter1-1/basic.test.js:126:22
|
test basic:
src/__tests__/chapter1-1/basic.test.js#L113
TypeError: Cannot read properties of null (reading 'click')
❯ src/__tests__/chapter1-1/basic.test.js:113:40
|
test basic:
src/__tests__/chapter1-1/basic.test.js#L160
AssertionError: expected null to not be falsy
- Expected:
false
+ Received:
null
❯ src/__tests__/chapter1-1/basic.test.js:160:52
|
test basic:
src/__tests__/chapter1-1/basic.test.js#L196
AssertionError: expected '<div id="root"><div class="bg-gray-10…' to contain '로그아웃'
Expected: "로그아웃"
Received: "<div id="root"><div class="bg-gray-100 flex items-center justify-center min-h-screen"><div class="bg-white p-8 rounded-lg shadow-md w-full max-w-md"><h1 class="text-2xl font-bold text-center text-blue-600 mb-8">항해플러스</h1><form id="login-form"><input type="text" id="username" placeholder="사용자 이름" class="w-full p-2 mb-4 border rounded" required="true"><input type="password" placeholder="비밀번호" class="w-full p-2 mb-6 border rounded" required="true"><button type="submit" class="w-full bg-blue-600 text-white p-2 rounded">로그인</button></form><div class="mt-4 text-center"><a href="#" class="text-blue-600 text-sm">비밀번호를 잊으셨나요?</a></div><hr class="my-6"><div class="text-center"><button class="bg-green-500 text-white px-4 py-2 rounded">새 계정 만들기</button></div></div></div></div>"
❯ src/__tests__/chapter1-1/basic.test.js:196:39
|
test basic:
src/__tests__/chapter1-2/basic.test.jsx#L478
AssertionError: expected "spy" to be called 1 times, but got 0 times
❯ src/__tests__/chapter1-2/basic.test.jsx:478:28
|
test basic:
src/__tests__/chapter1-2/basic.test.jsx#L542
AssertionError: expected "spy" to be called 1 times, but got 0 times
❯ src/__tests__/chapter1-2/basic.test.jsx:542:28
|
test basic:
src/__tests__/chapter1-2/basic.test.jsx#L571
AssertionError: expected "spy" to be called 1 times, but got 0 times
❯ src/__tests__/chapter1-2/basic.test.jsx:571:28
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading