Merge pull request #6789 from edx/anton/edxnotes-fix-tests
Fix unit tests.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user