mirror of
https://github.com/actions/setup-java.git
synced 2025-04-22 02:46:46 +00:00
Touchup test
This commit is contained in:
parent
201100f52f
commit
55c6a35c07
1 changed files with 0 additions and 10 deletions
|
@ -109,16 +109,6 @@ describe('installer tests', () => {
|
||||||
expect(fs.existsSync(path.join(JavaDir, 'bin'))).toBe(true);
|
expect(fs.existsSync(path.join(JavaDir, 'bin'))).toBe(true);
|
||||||
}, 100000);
|
}, 100000);
|
||||||
|
|
||||||
it('Throws if invalid java package specified', async () => {
|
|
||||||
let thrown = false;
|
|
||||||
try {
|
|
||||||
await installer.getJava('8.0.222', 'x64', '', 'bad jdk');
|
|
||||||
} catch {
|
|
||||||
thrown = true;
|
|
||||||
}
|
|
||||||
expect(thrown).toBe(true);
|
|
||||||
});
|
|
||||||
|
|
||||||
it('Throws if invalid directory to jdk', async () => {
|
it('Throws if invalid directory to jdk', async () => {
|
||||||
let thrown = false;
|
let thrown = false;
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue