Commit 689d7bc8 by polesye

Fix unit tests.

parent f6d09185
...@@ -54,6 +54,7 @@ define([ ...@@ -54,6 +54,7 @@ define([
highlights[0].mouseover(); highlights[0].mouseover();
expect($('#edx-notes-wrapper-123 .annotator-editor')).not.toHaveClass('annotator-hide'); expect($('#edx-notes-wrapper-123 .annotator-editor')).not.toHaveClass('annotator-hide');
expect($('#edx-notes-wrapper-123 .annotator-viewer')).toHaveClass('annotator-hide'); expect($('#edx-notes-wrapper-123 .annotator-viewer')).toHaveClass('annotator-hide');
});
it('clicking on highlights does not open the viewer when the editor is opened', function() { it('clicking on highlights does not open the viewer when the editor is opened', function() {
spyOn(annotators[1].editor, 'isShown').andReturn(false); spyOn(annotators[1].editor, 'isShown').andReturn(false);
......
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