forked from MapComplete/MapComplete
		
	Reformat all files with prettier
This commit is contained in:
		
							parent
							
								
									e22d189376
								
							
						
					
					
						commit
						b541d3eab4
					
				
					 382 changed files with 50893 additions and 35566 deletions
				
			
		|  | @ -1,18 +1,18 @@ | |||
| import {describe} from 'mocha' | ||||
| import {expect} from 'chai' | ||||
| import SourceConfig from "../../../Models/ThemeConfig/SourceConfig"; | ||||
| import {TagUtils} from "../../../Logic/Tags/TagUtils"; | ||||
| import { describe } from "mocha" | ||||
| import { expect } from "chai" | ||||
| import SourceConfig from "../../../Models/ThemeConfig/SourceConfig" | ||||
| import { TagUtils } from "../../../Logic/Tags/TagUtils" | ||||
| 
 | ||||
| describe("SourceConfig", () => { | ||||
| 
 | ||||
|     it("should throw an error on conflicting tags", () => { | ||||
|         expect(() => { | ||||
|             new SourceConfig( | ||||
|                 { | ||||
|                     osmTags: TagUtils.Tag({ | ||||
|                         and: ["x=y", "a=b", "x!=y"] | ||||
|                     }) | ||||
|                 }, false | ||||
|                         and: ["x=y", "a=b", "x!=y"], | ||||
|                     }), | ||||
|                 }, | ||||
|                 false | ||||
|             ) | ||||
|         }).to.throw(/tags are conflicting/) | ||||
|     }) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue