Notes/spec/support/utils.spec.ts
2025-01-09 18:07:02 +02:00

14 lines
243 B
TypeScript

import { trimIndentation } from "./utils.js";
describe("Utils", () => {
it("trims indentation", () => {
expect(trimIndentation`\
Hello
world
123`).toBe(`\
Hello
world
123`);
});
});