Run deno_std tests in github actions

This commit is contained in:
Ryan Dahl 2019-10-09 17:22:22 -04:00
parent 28293acd9c
commit 93f7f00c95
No known key found for this signature in database
GPG key ID: C6F2E2494922A6BA
53 changed files with 668 additions and 877 deletions

View file

@ -110,14 +110,18 @@ test(function emptyDirSyncIfItExist(): void {
assertEquals(stat.isDirectory(), true);
// nest directory have been remove
assertThrows((): void => {
Deno.statSync(testNestDir);
});
assertThrows(
(): void => {
Deno.statSync(testNestDir);
}
);
// test file have been remove
assertThrows((): void => {
Deno.statSync(testDirFile);
});
assertThrows(
(): void => {
Deno.statSync(testDirFile);
}
);
} finally {
// remote test dir
Deno.removeSync(testDir, { recursive: true });