diff --git a/spec/api-menu-spec.js b/spec/api-menu-spec.js index efa79dd7b5d6..32ee985de322 100644 --- a/spec/api-menu-spec.js +++ b/spec/api-menu-spec.js @@ -323,6 +323,11 @@ describe('Menu module', () => { assert.equal(x, 100) assert.equal(y, 101) }) + + it('calls the callback', (done) => { + menu.popup({}, () => done()) + menu.closePopup() + }) }) describe('Menu.closePopup()', () => {