Open up the cut context menu and run change detection.
()
| 190 | |
| 191 | /** Open up the cut context menu and run change detection. */ |
| 192 | function openCutContextMenu() { |
| 193 | // right click triggers a context menu event |
| 194 | dispatchMouseEvent(getCutMenuContext(), 'contextmenu'); |
| 195 | fixture.detectChanges(); |
| 196 | } |
| 197 | |
| 198 | /** Open up the copy context menu and run change detection. */ |
| 199 | function openCopyContextMenu() { |
no test coverage detected