File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -562,7 +562,7 @@ describe('MinimapElement', () => {
562562 runs ( ( ) => {
563563 nextAnimationFrame ( )
564564
565- spyOn ( minimapElement , 'drawLines' ) . andCallThrough ( )
565+ spyOn ( minimapElement . CanvasDrawer , 'drawLines' ) . andCallThrough ( )
566566 editor . insertText ( 'foo' )
567567 } )
568568 } )
@@ -574,9 +574,9 @@ describe('MinimapElement', () => {
574574 runs ( ( ) => {
575575 nextAnimationFrame ( )
576576
577- expect ( minimapElement . drawLines ) . toHaveBeenCalled ( )
577+ expect ( minimapElement . CanvasDrawer . drawLines ) . toHaveBeenCalled ( )
578578
579- const [ firstLine , lastLine ] = minimapElement . drawLines . argsForCall [ 0 ]
579+ const [ firstLine , lastLine ] = minimapElement . CanvasDrawer . drawLines . argsForCall [ 0 ]
580580
581581 // These tests are very flaky, depending on Atom's version the
582582 // measured values can changed so we have
You can’t perform that action at this time.
0 commit comments