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