+- `ext.knowledgegraph.contextmenu.test.js`: added coverage for the previously-untested `resources/KnowledgeGraphContextMenu.js` — removal of a pre-existing `#knowledgegraphp-popup-menu` element (present and absent), root element/`className` construction, per-item `<li>` rendering (icon `<span>` class, label text node, `onClick` listener registration and invocation), `showAt()`'s `style.left`/`style.top`/`document.body` append, and the `$( document )` click-outside removal and `$( '#' + PopupMenuId )` click-inside `stopPropagation()` guard; extended `tests/node-qunit/stubs/mw-oo-stubs.js` so its fake `document.getElementById()` can find elements previously appended via `append()`/`appendChild()` and so the fake jQuery `click()` supports both binding and triggering handlers, both needed to exercise this file ([#83](https://github.com/SemanticMediaWiki/KnowledgeGraph/issues/83))
0 commit comments