mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 13:39:01 +01: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`);
 | 
						|
    });
 | 
						|
}); |