Commit f1fbd0f9 by Anton Stupak

Merge pull request #6789 from edx/anton/edxnotes-fix-tests

Fix unit tests.
parents e871df55 689d7bc8
......@@ -54,6 +54,7 @@ define([
highlights[0].mouseover();
expect($('#edx-notes-wrapper-123 .annotator-editor')).not.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() {
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