@@ -434,7 +434,7 @@ describe('Hoverifier', () => {
434434 }
435435
436436 // Click (to pin) https://sourcegraph.sgdev.org/github.com/gorilla/mux@cb4698366aa625048f3b815af6a0dea8aef9280a/-/blob/mux.go#L24:6
437- cold ( `a` ) . subscribe ( ( ) => {
437+ cold ( 'a' ) . subscribe ( ( ) => {
438438 dispatchMouseEventAtPositionImpure ( 'click' , codeView , {
439439 line : 24 ,
440440 character : 6 ,
@@ -502,7 +502,7 @@ describe('Hoverifier', () => {
502502 distinctUntilChanged ( )
503503 )
504504
505- const outputDiagram = `ab`
505+ const outputDiagram = 'ab'
506506 const outputValues : {
507507 [ key : string ] : 'hidden' | 'pinned' | 'visible'
508508 } = {
@@ -511,15 +511,15 @@ describe('Hoverifier', () => {
511511 }
512512
513513 // Click (to pin) https://sourcegraph.sgdev.org/github.com/gorilla/mux@cb4698366aa625048f3b815af6a0dea8aef9280a/-/blob/mux.go#L24:6
514- cold ( `a` ) . subscribe ( ( ) =>
514+ cold ( 'a' ) . subscribe ( ( ) =>
515515 dispatchMouseEventAtPositionImpure ( 'click' , codeView , {
516516 line : 24 ,
517517 character : 6 ,
518518 } )
519519 )
520520
521521 // Click to another position and ensure the hover is no longer pinned.
522- cold ( `-b` ) . subscribe ( ( ) =>
522+ cold ( '-b' ) . subscribe ( ( ) =>
523523 positionJumps . next ( {
524524 codeView : codeView . codeView ,
525525 scrollElement : codeView . container ,
@@ -716,14 +716,17 @@ describe('Hoverifier', () => {
716716 }
717717
718718 // Mouse on https://sourcegraph.sgdev.org/github.com/gorilla/mux@cb 4698366aa625048f3b815af6a0dea8aef9280a/-/blob/mux.go#L24:6
719- cold ( `a b ${ MOUSEOVER_DELAY - 2 } ms c d e` , {
720- a : 'mouseover' ,
721- b : 'mousemove' ,
722- // Now perform repeated mousemove/mouseover events on the same token.
723- c : 'mousemove' ,
724- d : 'mouseover' ,
725- e : 'mousemove' ,
726- } as Record < string , SupportedMouseEvent > ) . subscribe ( eventType =>
719+ cold (
720+ `a b ${ MOUSEOVER_DELAY - 2 } ms c d e` ,
721+ ( ( ) : Record < string , SupportedMouseEvent > => ( {
722+ a : 'mouseover' ,
723+ b : 'mousemove' ,
724+ // Now perform repeated mousemove/mouseover events on the same token.
725+ c : 'mousemove' ,
726+ d : 'mouseover' ,
727+ e : 'mousemove' ,
728+ } ) ) ( )
729+ ) . subscribe ( eventType =>
727730 dispatchMouseEventAtPositionImpure ( eventType , codeView , {
728731 line : 24 ,
729732 character : 6 ,
0 commit comments