Commit b345ec0
committed
test: update react-createelement comparison tests with 5000 nested nodes and fix typings
- Changed rerender to use React.cloneElement<any> for proper typing
- Updated NUM_NODES constant to 5000 for nested structure tests
- Removed redundant comments about node count reduction to prevent stack overflow1 parent cb842c8 commit b345ec0
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
183 | | - | |
184 | 182 | | |
185 | 183 | | |
186 | 184 | | |
| |||
0 commit comments