test #4
Annotations
6 errors and 6 warnings
src/__tests__/MyReact.test.js > MyReact > > 렌더링 테스트 > 한 개의 태그를 렌더링할 수 있다.:
packages/chapter2/src/__tests__/MyReact.test.js#L17
AssertionError: expected '' to be '<div>div의 children 입니다.</div>' // Object.is equality
- Expected
+ Received
- <div>div의 children 입니다.</div>
❯ src/__tests__/MyReact.test.js:17:31
|
src/__tests__/MyReact.test.js > MyReact > > 렌더링 테스트 > props를 추가할 수 있다.:
packages/chapter2/src/__tests__/MyReact.test.js#L28
AssertionError: expected '' to be '<div id="test-id" class="test-class">…' // Object.is equality
- Expected
+ Received
- <div id="test-id" class="test-class">div의 children 입니다.</div>
❯ src/__tests__/MyReact.test.js:28:31
|
src/__tests__/MyReact.test.js > MyReact > > 렌더링 테스트 > 자식 노드를 표현할 수 있다.:
packages/chapter2/src/__tests__/MyReact.test.js#L40
AssertionError: expected '' to be '<div id="test-id" class="test-class">…' // Object.is equality
- Expected
+ Received
- <div id="test-id" class="test-class"><p>첫 번째 문단</p><p>두 번째 문단</p></div>
❯ src/__tests__/MyReact.test.js:40:31
|
src/__tests__/MyReact.test.js > MyReact > > hook 사용해보기 > useState > > 값을 정의하고 사용할 수 있다.:
packages/chapter2/src/__tests__/MyReact.test.js#L60
AssertionError: expected '' to be '<div>현재 state: 1</div>' // Object.is equality
- Expected
+ Received
- <div>현재 state: 1</div>
❯ src/__tests__/MyReact.test.js:60:33
|
src/__tests__/MyReact.test.js > MyReact > > hook 사용해보기 > useState > > 값을 업데이트 할 수 있다.:
packages/chapter2/src/__tests__/MyReact.test.js#L79
AssertionError: expected '' to be '<div><p>1번째 자식</p></div>' // Object.is equality
- Expected
+ Received
- <div><p>1번째 자식</p></div>
❯ src/__tests__/MyReact.test.js:79:33
|
testC
Process completed with exit code 1.
|
testC
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
testD
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
testE
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
testA
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
testF
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
testB
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|