fix: tidy graalvm community validation follow-ups

This commit is contained in:
copilot-swe-agent[bot]
2026-06-22 20:33:22 +00:00
committed by GitHub
parent 6929a11922
commit a263f84254
3 changed files with 25 additions and 26 deletions
@@ -1053,21 +1053,21 @@ describe('GraalVMDistribution', () => {
).rejects.toThrow('GraalVM Community does not provide early access builds');
});
});
});
describe('distribution factory', () => {
const defaultOptions: JavaInstallerOptions = {
version: '17',
architecture: 'x64',
packageType: 'jdk',
checkLatest: false
};
});
it('should map graalvm-community to the community installer', () => {
const community = getJavaDistribution('graalvm-community', defaultOptions);
describe('distribution factory', () => {
const defaultOptions: JavaInstallerOptions = {
version: '17',
architecture: 'x64',
packageType: 'jdk',
checkLatest: false
};
expect(community).toBeInstanceOf(GraalVMCommunityDistribution);
});
it('should map graalvm-community to the community installer', () => {
const community = getJavaDistribution('graalvm-community', defaultOptions);
expect(community).toBeInstanceOf(GraalVMCommunityDistribution);
});
});