Commit 596c651
committed
fix: handle cases where hmrData in preview can be null
In case the hmrData is not passed during initial sync, the code will fail with some unexpected exception.
Handle the case and fix unit tests which are successful, but actually throw unhandled error in one of the event handlers.1 parent 188b3bb commit 596c651
File tree
2 files changed
+3
-2
lines changed- lib/controllers
- test/services/playground
2 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
| 175 | + | |
175 | 176 | | |
176 | 177 | | |
177 | 178 | | |
| |||
0 commit comments