From dd2c933936305484b0f6fd253fc862aaa549ef6e Mon Sep 17 00:00:00 2001 From: DIYgod Date: Tue, 28 Jul 2026 13:52:45 +0800 Subject: [PATCH] chore(ci): format integration URL scheme test --- apps/desktop/layer/main/src/ipc/services/integration.test.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/desktop/layer/main/src/ipc/services/integration.test.ts b/apps/desktop/layer/main/src/ipc/services/integration.test.ts index 718a10c77..03140174f 100644 --- a/apps/desktop/layer/main/src/ipc/services/integration.test.ts +++ b/apps/desktop/layer/main/src/ipc/services/integration.test.ts @@ -82,9 +82,7 @@ describe("IntegrationService", () => { it("rejects input that cannot be parsed as a URL", async () => { const service = new IntegrationService() - await expect(service.openURLScheme("not-a-url")).rejects.toThrow( - /Invalid URL scheme/i, - ) + await expect(service.openURLScheme("not-a-url")).rejects.toThrow(/Invalid URL scheme/i) expect(openExternalMock).not.toHaveBeenCalled() })