mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:42:44 +00:00 
			
		
		
		
	LibJS: Remove default parameter from assertThrowsError() for now
We don't support these yet, and it broke all the tests. :^)
This commit is contained in:
		
							parent
							
								
									364ca1f476
								
							
						
					
					
						commit
						f78a92c5a9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -36,7 +36,7 @@ function assertNotReached() { | ||||||
|  * @param {string} [options.name] Expected error name |  * @param {string} [options.name] Expected error name | ||||||
|  * @param {string} [options.message] Expected error message |  * @param {string} [options.message] Expected error message | ||||||
|  */ |  */ | ||||||
| function assertThrowsError(testFunction, options = {}) { | function assertThrowsError(testFunction, options) { | ||||||
|     try { |     try { | ||||||
|         testFunction(); |         testFunction(); | ||||||
|         assertNotReached(); |         assertNotReached(); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling