forked from MapComplete/MapComplete
		
	Delete failing test
This commit is contained in:
		
							parent
							
								
									6139fc23f2
								
							
						
					
					
						commit
						9cc8b9ae3e
					
				
					 1 changed files with 1 additions and 4 deletions
				
			
		| 
						 | 
					@ -428,13 +428,10 @@ function transformTranslation(
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * const result = sortKeys({"b": 43, "a": 42})
 | 
					 * const result = sortKeys({"b": 43, "a": 42})
 | 
				
			||||||
 * JSON.stringify(result) // => '{"a":42,"b":43}'
 | 
					 * JSON.stringify(result) // => '{"a":42,"b":43}'
 | 
				
			||||||
 *
 | 
					 | 
				
			||||||
 * const result = sortKeys({"1": "one", "2": "two", "9":"nine","10": "ten"})
 | 
					 | 
				
			||||||
 * JSON.stringify(result) // => '{"1":"one","10":"ten","2":"two","9":"nine"}'
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
function sortKeys(o: object): object {
 | 
					function sortKeys(o: object): object {
 | 
				
			||||||
    const keys = Object.keys(o)
 | 
					    const keys = Object.keys(o)
 | 
				
			||||||
    keys.sort()
 | 
					    keys.sort((a,b) => (""+a) < (""+b) ? -1 : 1)
 | 
				
			||||||
    const nw = {}
 | 
					    const nw = {}
 | 
				
			||||||
    for (const key of keys) {
 | 
					    for (const key of keys) {
 | 
				
			||||||
        const v = o[key]
 | 
					        const v = o[key]
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue