Dont fail on not being able to unlink

This commit is contained in:
Danny McCormick 2019-06-07 17:35:33 -04:00
parent ad45eb5231
commit 46111af811

View File

@ -37,8 +37,12 @@ describe('installer tests', () => {
}, 100000);
afterAll(async () => {
await io.rmRF(toolDir);
await io.rmRF(tempDir);
try {
await io.rmRF(toolDir);
await io.rmRF(tempDir);
} finally {
console.log('Failed to remove test directories');
}
}, 100000);
it('Acquires version of node if no matching version is installed', async () => {