forked from MapComplete/MapComplete
		
	Fix tests
This commit is contained in:
		
							parent
							
								
									4085bbc1ac
								
							
						
					
					
						commit
						e6dab1a83f
					
				
					 4 changed files with 9 additions and 2 deletions
				
			
		|  | @ -11,6 +11,7 @@ beforeEach(async () => { | |||
| 
 | ||||
|     // Block internet access
 | ||||
|     Utils.externalDownloadFunction = async (url) => { | ||||
|         console.trace("Fetching external data during tests:", url) | ||||
|         throw "Fetching " + url + " blocked in tests, use Utils.injectJsonDownloadForTests instead" | ||||
|     } | ||||
| }) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue