setup-maven/__tests__/installer.test.ts

11 lines
357 B
TypeScript
Raw Normal View History

import * as installer from '../src/installer';
describe('getAvailableVersions', () => {
it('load real available versions', async () => {
const availableVersions = await installer.getAvailableVersions();
expect(availableVersions).toBeTruthy();
expect(availableVersions).toEqual(expect.arrayContaining(['3.2.5', '3.3.3', '3.8.2']));
2022-07-28 14:11:33 +00:00
});
});