File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -686,7 +686,7 @@ describe('openlayers_GraphicLayer', () => {
686686 const res = source . findGraphicByPixel ( { pixel : [ 0 , 0 ] } , source ) ;
687687 expect ( res ) . toBeUndefined ( ) ;
688688
689- spyOn ( map , 'getFeaturesAtPixel' ) . and . callFake ( ( ) => graphics ) ;
689+ spyOn ( map , 'getFeaturesAtPixel' ) . and . callFake ( ( ) => graphics ) ;
690690 const res1 = source . findGraphicByPixel ( { pixel : [ 0 , 0 ] } , source ) ;
691691 expect ( res1 ) . not . toBeUndefined ( ) ;
692692
@@ -695,6 +695,7 @@ describe('openlayers_GraphicLayer', () => {
695695 expect ( graphic ) . toBe ( graphics [ 0 ] ) ;
696696 expect ( layer ) . toBe ( graphicLayer ) ;
697697 } ) ;
698+ source . renderer = { deckGL : { pickObject : ( ) => ( { } ) } } ;
698699 viewport . dispatchEvent ( new Event ( 'pointermove' ) ) ;
699700 viewport . dispatchEvent ( new Event ( 'click' ) ) ;
700701
You can’t perform that action at this time.
0 commit comments