File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -426,10 +426,10 @@ Make The <br> W<span class="highlight-spellcheck" data-word-id="spellcheckId" da
426
426
} )
427
427
428
428
it ( 'normalizes a simple text node after removing a highlight' , function ( ) {
429
- setupHighlightEnv ( self , 'People Make The World Go Round' )
430
- self . highlightRange ( 'myId' , 3 , 7 )
431
- const normalizeSpy = sinon . spy ( self . div , 'normalize' )
432
- self . removeHighlight ( 'myId' )
429
+ setupHighlightEnv ( this , 'People Make The World Go Round' )
430
+ this . highlightRange ( 'myId' , 3 , 7 )
431
+ const normalizeSpy = sinon . spy ( this . div , 'normalize' )
432
+ this . removeHighlight ( 'myId' )
433
433
// There is no way to see the actual error in a test since it only happens in (non-headless)
434
434
// Chome environments. We just check if the normalize method has been called here.
435
435
expect ( normalizeSpy . callCount ) . toEqual ( 1 )
You can’t perform that action at this time.
0 commit comments