forked from MapComplete/MapComplete
		
	Tests: Partially fix the tests
This commit is contained in:
		
							parent
							
								
									3c338696bc
								
							
						
					
					
						commit
						f934dad733
					
				
					 8 changed files with 2282 additions and 2221 deletions
				
			
		|  | @ -1,7 +1,6 @@ | |||
| import { ExtraFuncParams, ExtraFunctions } from "../../Logic/ExtraFunctions" | ||||
| import { OsmFeature } from "../../Models/OsmFeature" | ||||
| import { describe, expect, it } from "vitest" | ||||
| import {GeoJSONFeature} from "maplibre-gl"; | ||||
| import {ExtraFuncParams, ExtraFunctions} from "../../Logic/ExtraFunctions" | ||||
| import {OsmFeature} from "../../Models/OsmFeature" | ||||
| import {describe, expect, it} from "vitest" | ||||
| import {Feature} from "geojson"; | ||||
| 
 | ||||
| describe("OverlapFunc", () => { | ||||
|  | @ -110,7 +109,7 @@ describe("OverlapFunc", () => { | |||
| 
 | ||||
|         const params: ExtraFuncParams = { | ||||
|             getFeatureById: () => undefined, | ||||
|             getFeaturesWithin: () => [door], | ||||
|             getFeaturesWithin: () => [[door]], | ||||
|         } | ||||
|         const helpers = ExtraFunctions.constructHelpers(params) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue