Notes/spec/support/utils.spec.ts

15 lines
252 B
TypeScript
Raw Normal View History

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