Commit 36cf0ab
committed
(fix/test): reset clearOnResize to true for size tests
- when false, canvas won't resize on window resize necessarily
- was set false in previous test
- this was found when branch coverage was lacking a bit on resizing,
now we're at ~93% and missing just one branch!
- the tests didn't error out though because without input size the
canvas size is 0 in these tests regardless of resize
- not a perfect test in that sense :/ :/1 parent 3bd83ac commit 36cf0ab
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
| 164 | + | |
| 165 | + | |
165 | 166 | | |
166 | 167 | | |
167 | 168 | | |
| |||
0 commit comments