mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 00:22:43 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
	
		
			269 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			269 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| test("basic functionality", () => {
 | |
|     expect(Math.min).toHaveLength(2);
 | |
| 
 | |
|     expect(Math.min(1)).toBe(1);
 | |
|     expect(Math.min(2, 1)).toBe(1);
 | |
|     expect(Math.min(1, 2, 3)).toBe(1);
 | |
|     expect(Math.min(NaN)).toBeNaN();
 | |
|     expect(Math.min("String", 1)).toBeNaN();
 | |
| });
 | 
