mirror of
https://github.com/stCarolas/setup-maven.git
synced 2025-02-26 09:42:28 +00:00
12 lines
339 B
TypeScript
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'])
|
|
);
|
|
});
|
|
});
|