[11팀 김상연][Chapter1-2] 프레임워크 없이 SPA 만들기 #106
+338
−40
Open
Annotations
8 errors and 2 warnings
test basic:
src/__tests__/chapter1-1/basic.test.js#L66
AssertionError: expected null to deeply equal '{"username":"testuser","email":"","bi…'
- Expected:
"{\"username\":\"testuser\",\"email\":\"\",\"bio\":\"\"}"
+ Received:
null
❯ src/__tests__/chapter1-1/basic.test.js:66:44
|
test basic:
src/__tests__/chapter1-1/basic.test.js#L93
AssertionError: expected '' to be 'testuser' // Object.is equality
- Expected
+ Received
- testuser
❯ src/__tests__/chapter1-1/basic.test.js:93:57
|
test basic:
src/__tests__/chapter1-1/basic.test.js#L89
TypeError: Cannot read properties of null (reading 'click')
❯ src/__tests__/chapter1-1/basic.test.js:89:40
|
test basic:
src/__tests__/chapter1-1/basic.test.js#L102
TypeError: Cannot set properties of null (setting 'value')
❯ src/__tests__/chapter1-1/basic.test.js:102:22
|
test basic:
src/__tests__/chapter1-1/basic.test.js#L89
TypeError: Cannot read properties of null (reading 'click')
❯ src/__tests__/chapter1-1/basic.test.js:89:40
|
test basic:
src/__tests__/chapter1-1/basic.test.js#L131
AssertionError: expected null to not be falsy
- Expected:
null
+ Received:
false
❯ src/__tests__/chapter1-1/basic.test.js:131:52
|
test basic:
src/__tests__/chapter1-1/basic.test.js#L166
AssertionError: expected '<div id="root"><div><div class="bg-gr…' to contain '로그아웃'
Expected: "로그아웃"
Received: "<div id="root"><div><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></div>"
❯ src/__tests__/chapter1-1/basic.test.js:166:39
|
test basic
Process completed with exit code 1.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading