mirror of
https://github.com/denoland/deno.git
synced 2025-09-21 18:10:02 +00:00
Run deno_std tests in github actions
This commit is contained in:
parent
28293acd9c
commit
93f7f00c95
53 changed files with 668 additions and 877 deletions
|
@ -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 });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue