mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +08:00 
			
		
		
		
	
		
			
	
	
		
			14 lines
		
	
	
		
			251 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
		
		
			
		
	
	
			14 lines
		
	
	
		
			251 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
|   | import { trimIndentation } from "./utils.js"; | ||
|  | 
 | ||
|  | describe("Utils", () => { | ||
|  |     it("trims indentation", () => { | ||
|  |         expect(trimIndentation`\
 | ||
|  |             Hello | ||
|  |                 world | ||
|  |             123`
 | ||
|  |         ).toBe(`\
 | ||
|  | Hello | ||
|  |     world | ||
|  | 123`);
 | ||
|  |     }); | ||
|  | }); |