forked from MapComplete/MapComplete
		
	Fix tests
This commit is contained in:
		
							parent
							
								
									906fa1b1db
								
							
						
					
					
						commit
						0da93d6067
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -458,7 +458,7 @@ export class DetectShadowedMappings extends DesugaringStep<TagRenderingConfigJso | |||
|      * const context = ConversionContext.test() | ||||
|      * const r = new DetectShadowedMappings().convert(tr, context); | ||||
|      * context.getAll("error").length // => 1
 | ||||
|      * context.getAll("error")[0].message.indexOf("The mapping key=value&x=y is fully matched by a previous mapping (namely 0)") >= 0 // => true
 | ||||
|      * context.getAll("error")[0].message.indexOf("The mapping key=value &x=y is fully matched by a previous mapping (namely 0)") >= 0 // => true
 | ||||
|      */ | ||||
|     convert(json: TagRenderingConfigJson, context: ConversionContext): TagRenderingConfigJson { | ||||
|         if (json.mappings === undefined || json.mappings.length === 0) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue