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