[6팀 현채은] Chapter2-2. 나만의 React 만들기 #49
Open
Annotations
10 errors
|
src/__tests__/basic.test.jsx#L317
TypeError: Cannot read properties of undefined (reading 'nodeType')
❯ src/__tests__/basic.test.jsx:317:21
|
|
src/__tests__/basic.test.jsx#L305
TypeError: Cannot read properties of undefined (reading 'nodeType')
❯ src/__tests__/basic.test.jsx:305:21
|
|
src/__tests__/basic.test.jsx#L305
TypeError: Cannot read properties of undefined (reading 'nodeType')
❯ src/__tests__/basic.test.jsx:305:21
|
|
src/__tests__/basic.test.jsx#L305
TypeError: Cannot read properties of undefined (reading 'nodeType')
❯ src/__tests__/basic.test.jsx:305:21
|
|
src/__tests__/basic.test.jsx#L305
TypeError: Cannot read properties of undefined (reading 'nodeType')
❯ src/__tests__/basic.test.jsx:305:21
|
|
src/__tests__/basic.test.jsx#L204
AssertionError: expected { type: 'div', props: {}, …(1) } to deeply equal { type: 'div', props: null, …(1) }
- Expected
+ Received
{
"children": [
+ null,
+ undefined,
{
"children": [
"Valid",
],
- "props": null,
+ "props": {},
"type": "span",
},
],
- "props": null,
+ "props": {},
"type": "div",
}
❯ src/__tests__/basic.test.jsx:204:23
|
|
src/__tests__/basic.test.jsx#L204
AssertionError: expected { type: 'div', props: {}, …(1) } to deeply equal { type: 'div', props: null, …(1) }
- Expected
+ Received
@@ -2,12 +2,13 @@
"children": [
{
"children": [
"Shown",
],
- "props": null,
+ "props": {},
"type": "span",
},
+ false,
],
- "props": null,
+ "props": {},
"type": "div",
}
❯ src/__tests__/basic.test.jsx:204:23
|
|
src/__tests__/basic.test.jsx#L204
AssertionError: expected { type: 'ul', props: {}, …(1) } to deeply equal { type: 'ul', props: null, …(1) }
- Expected
+ Received
@@ -1,7 +1,8 @@
{
"children": [
+ [
{
"children": [
"Item ",
0,
": ",
@@ -35,8 +36,9 @@
"key": 3,
},
"type": "li",
},
],
- "props": null,
+ ],
+ "props": {},
"type": "ul",
}
❯ src/__tests__/basic.test.jsx:204:23
|
|
src/__tests__/basic.test.jsx#L204
AssertionError: expected { type: 'div', props: {}, …(1) } to deeply equal { type: 'div', props: null, …(1) }
- Expected
+ Received
{
"children": [
"Hello",
],
- "props": null,
+ "props": {},
"type": "div",
}
❯ src/__tests__/basic.test.jsx:204:23
|
|
src/__tests__/basic.test.jsx#L31
AssertionError: expected [ [ 'Hello', [ 'world', '!' ] ] ] to deeply equal [ 'Hello', 'world', '!' ]
- Expected
+ Received
[
+ [
"Hello",
+ [
"world",
"!",
+ ],
+ ],
]
❯ src/__tests__/basic.test.jsx:31:30
|
The logs for this run have expired and are no longer available.
Loading