Notes/spec/support/utils.spec.ts

14 lines
243 B
TypeScript
Raw Permalink Normal View History

import { trimIndentation } from "./utils.js";
describe("Utils", () => {
it("trims indentation", () => {
expect(trimIndentation`\
Hello
world
2025-01-09 18:07:02 +02:00
123`).toBe(`\
Hello
world
123`);
});
2024-12-22 15:45:54 +02:00
});