From e2b889947bc1b450cc3fdb050f65408504f023ce Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 25 Jun 2026 11:00:17 +0000 Subject: [PATCH] Fix Prettier formatting in test files --- __tests__/distributors/microsoft-installer.test.ts | 4 +++- __tests__/gpg.test.ts | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/__tests__/distributors/microsoft-installer.test.ts b/__tests__/distributors/microsoft-installer.test.ts index 6eb2b58e..6b08d65f 100644 --- a/__tests__/distributors/microsoft-installer.test.ts +++ b/__tests__/distributors/microsoft-installer.test.ts @@ -221,7 +221,9 @@ describe('findPackageForDownload', () => { const result = await distribution['findPackageForDownload']('17.0.10'); - expect(result.signatureUrl).toBe('https://example.test/jdk.tar.gz.custom.sig'); + expect(result.signatureUrl).toBe( + 'https://example.test/jdk.tar.gz.custom.sig' + ); }); }); diff --git a/__tests__/gpg.test.ts b/__tests__/gpg.test.ts index 655077fb..cf72803e 100644 --- a/__tests__/gpg.test.ts +++ b/__tests__/gpg.test.ts @@ -61,7 +61,8 @@ describe('gpg tests', () => { describe('verifyPackageSignature', () => { it('imports bundled key and verifies package', async () => { - const publicKeyContent = '-----BEGIN PGP PUBLIC KEY BLOCK-----\ntest\n-----END PGP PUBLIC KEY BLOCK-----'; + const publicKeyContent = + '-----BEGIN PGP PUBLIC KEY BLOCK-----\ntest\n-----END PGP PUBLIC KEY BLOCK-----'; (tc.downloadTool as jest.Mock).mockResolvedValue('/tmp/jdk.tar.gz.sig'); await gpg.verifyPackageSignature( '/tmp/jdk.tar.gz',