mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 21:12:43 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
	
		
			239 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			239 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| test("constructor properties", () => {
 | |
|     expect(String).toHaveLength(1);
 | |
|     expect(String.name).toBe("String");
 | |
| });
 | |
| 
 | |
| test("typeof", () => {
 | |
|     expect(typeof String()).toBe("string");
 | |
|     expect(typeof new String()).toBe("object");
 | |
| });
 | 
