Commit ea7277b
chore: Add more Stateful Component tests (#12438) 13be041786
Adds several more real world tests for Stateful Components. Tests also uncovered 2 bugs which are fixed in this PR.
- Fixes cross file copy/pasting stateful artboards to make sure any VM instances that are copied are correctly reparented when pasted.
- We missed the VM artboard property bound to NestedArtboard's artboard case. Fixed, so now we always setup/cleanup new stateful VM instances when artboards are swapped via databinding.
Co-authored-by: Philip Chung <philterdesign@gmail.com>1 parent 5d1ae16 commit ea7277b
12 files changed
Lines changed: 667 additions & 2 deletions
File tree
- src
- tests/unit_tests
- assets
- runtime
- silvers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
142 | 143 | | |
143 | 144 | | |
144 | 145 | | |
| |||
159 | 160 | | |
160 | 161 | | |
161 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
162 | 190 | | |
163 | 191 | | |
164 | 192 | | |
| |||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 commit comments