|  | @@ -184,6 +184,13 @@ break it now`,
 | 
	
		
			
				|  |  |      expect(res).toEqual(`Hello 
 | 
	
		
			
				|  |  |  Excalidraw`);
 | 
	
		
			
				|  |  |    });
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +  it("should return the text as is if max width is invalid", () => {
 | 
	
		
			
				|  |  | +    const text = "Hello Excalidraw";
 | 
	
		
			
				|  |  | +    expect(wrapText(text, font, NaN)).toEqual(text);
 | 
	
		
			
				|  |  | +    expect(wrapText(text, font, -1)).toEqual(text);
 | 
	
		
			
				|  |  | +    expect(wrapText(text, font, Infinity)).toEqual(text);
 | 
	
		
			
				|  |  | +  });
 | 
	
		
			
				|  |  |  });
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  describe("Test measureText", () => {
 |