Repository navigation
Commit dd94307
committed
fix(ui): guard markLineData access with optional chaining in scatter test
Address PR #1671 review feedback (`4590818105`, `4590818117`) by typing `markLineData` as `| undefined` and asserting `markLineData?.[0]?.yAxis` in `scatter_options_builder_test.ts`.
TAG=agy
CONV=ba8411ef-c093-4f45-950a-b3bc1899268c1 parent 6924a6b commit dd94307
1 file changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
163 | | - | |
| 162 | + | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
173 | 175 | | |
174 | 176 | | |
175 | 177 | | |
| |||
0 commit comments