Fix Prettier formatting in test files

This commit is contained in:
copilot-swe-agent[bot] 2026-06-25 11:00:17 +00:00 committed by GitHub
parent 673ccf9f5b
commit e2b889947b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -221,7 +221,9 @@ describe('findPackageForDownload', () => {
const result = await distribution['findPackageForDownload']('17.0.10'); 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'
);
}); });
}); });

View File

@ -61,7 +61,8 @@ describe('gpg tests', () => {
describe('verifyPackageSignature', () => { describe('verifyPackageSignature', () => {
it('imports bundled key and verifies package', async () => { 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'); (tc.downloadTool as jest.Mock).mockResolvedValue('/tmp/jdk.tar.gz.sig');
await gpg.verifyPackageSignature( await gpg.verifyPackageSignature(
'/tmp/jdk.tar.gz', '/tmp/jdk.tar.gz',