mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-08-14 20:55:11 +00:00
merge
This commit is contained in:
parent
f03e32a904
commit
b9a316b3dd
@ -33,11 +33,11 @@ describe('installer tests', () => {
|
|||||||
expect(fs.existsSync(`${nodeDir}.complete`)).toBe(true);
|
expect(fs.existsSync(`${nodeDir}.complete`)).toBe(true);
|
||||||
expect(fs.existsSync(path.join(nodeDir, 'dotnet.exe'))).toBe(true);
|
expect(fs.existsSync(path.join(nodeDir, 'dotnet.exe'))).toBe(true);
|
||||||
}, 100000);
|
}, 100000);
|
||||||
|
|
||||||
it('Throws if no location contains correct dotnet version', async () => {
|
it('Throws if no location contains correct dotnet version', async () => {
|
||||||
let thrown = false;
|
let thrown = false;
|
||||||
try {
|
try {
|
||||||
await getDotnet('1000.0.0')
|
await getDotnet('1000.0.0');
|
||||||
} catch {
|
} catch {
|
||||||
thrown = true;
|
thrown = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user