Commit 849947d3 authored by Juan Corona's avatar Juan Corona

Add test for ‘setVisibleHighlights’ dispatching

parent 3a6b806c
...@@ -262,5 +262,11 @@ describe('FrameSync', function () { ...@@ -262,5 +262,11 @@ describe('FrameSync', function () {
assert.calledWith(fakeBridge.call, 'hideSidebar'); assert.calledWith(fakeBridge.call, 'hideSidebar');
}); });
it ('calls "setVisibleHighlights"', function() {
fakeBridge.emit('setVisibleHighlights');
assert.calledWith(fakeBridge.call, 'setVisibleHighlights');
});
}); });
}); });
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment