mirror of
https://github.com/actions/setup-java.git
synced 2026-07-08 14:21:50 +00:00
Fix Prettier formatting in test files
This commit is contained in:
parent
673ccf9f5b
commit
e2b889947b
@ -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'
|
||||||
|
);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@ -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',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user