From 7964a0ba07444dc7419bf53060cb392910cd82c9 Mon Sep 17 00:00:00 2001 From: Eugen Dukhin Date: Wed, 16 Oct 2024 14:08:03 +0200 Subject: [PATCH] fixed formatting issues --- __tests__/util.test.ts | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/__tests__/util.test.ts b/__tests__/util.test.ts index a214626..9f7ffdf 100644 --- a/__tests__/util.test.ts +++ b/__tests__/util.test.ts @@ -6,7 +6,7 @@ import { parseInputFiles, unmatchedPatterns, uploadUrl, - alignAssetName + alignAssetName, } from "../src/util"; import * as assert from "assert"; @@ -370,17 +370,19 @@ describe("util", () => { }); }); - describe('replaceSpacesWithDots', () => { - it('replaces all spaces with dots', () => { - expect(alignAssetName("John Doe.bla")).toBe("John.Doe.bla"); + describe("replaceSpacesWithDots", () => { + it("replaces all spaces with dots", () => { + expect(alignAssetName("John Doe.bla")).toBe("John.Doe.bla"); }); - it('handles names with multiple spaces', () => { - expect(alignAssetName("John William Doe.bla")).toBe("John.William.Doe.bla"); + it("handles names with multiple spaces", () => { + expect(alignAssetName("John William Doe.bla")).toBe( + "John.William.Doe.bla", + ); }); - it('returns the same string if there are no spaces', () => { - expect(alignAssetName("JohnDoe")).toBe("JohnDoe"); + it("returns the same string if there are no spaces", () => { + expect(alignAssetName("JohnDoe")).toBe("JohnDoe"); }); }); });