mirror of
https://github.com/actions/setup-java.git
synced 2024-12-01 21:00:56 -05:00
Update Tests
This commit is contained in:
parent
4776457db0
commit
72649109a1
2 changed files with 848 additions and 187 deletions
File diff suppressed because it is too large
Load diff
|
@ -3,6 +3,7 @@ import {HttpClient} from '@actions/http-client';
|
|||
import {JetBrainsDistribution} from '../../src/distributions/jetbrains/installer';
|
||||
|
||||
import manifestData from '../data/jetbrains.json';
|
||||
import {fstat, writeFileSync} from 'fs';
|
||||
|
||||
describe('getAvailableVersions', () => {
|
||||
let spyHttpClient: jest.SpyInstance;
|
||||
|
@ -50,7 +51,7 @@ describe('getAvailableVersions', () => {
|
|||
const availableVersions = await distribution['getAvailableVersions']();
|
||||
expect(availableVersions).not.toBeNull();
|
||||
expect(availableVersions.length).toBe(manifestData.length * 2);
|
||||
});
|
||||
}, 10_000);
|
||||
});
|
||||
|
||||
describe('findPackageForDownload', () => {
|
||||
|
|
Loading…
Reference in a new issue