setup-maven/__tests__/installer.test.ts

12 lines
339 B
TypeScript

import * as installer from '../src/installer';
describe('getAvailableVersions', () => {
it('loads real available versions', async () => {
const availableVersions = await installer.getAvailableVersions();
expect(availableVersions).toStrictEqual(
expect.arrayContaining(['3.0', '3.2.5', '3.3.3', '3.8.2'])
);
});
});