This commit is contained in:
Danny McCormick 2019-06-20 09:58:49 -04:00
parent f03e32a904
commit b9a316b3dd

View File

@ -33,11 +33,11 @@ describe('installer tests', () => {
expect(fs.existsSync(`${nodeDir}.complete`)).toBe(true);
expect(fs.existsSync(path.join(nodeDir, 'dotnet.exe'))).toBe(true);
}, 100000);
it('Throws if no location contains correct dotnet version', async () => {
let thrown = false;
try {
await getDotnet('1000.0.0')
await getDotnet('1000.0.0');
} catch {
thrown = true;
}