Touchup test

This commit is contained in:
Gil Tene 2019-11-02 20:58:33 -07:00
parent b3288c7098
commit 201100f52f

View file

@ -109,10 +109,10 @@ 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 packge specified', async () => { it('Throws if invalid java package specified', async () => {
let thrown = false; let thrown = false;
try { try {
await installer.getJava('8.0.222', 'x64', '', 'badjdk'); await installer.getJava('8.0.222', 'x64', '', 'bad jdk');
} catch { } catch {
thrown = true; thrown = true;
} }