summaryrefslogtreecommitdiff
path: root/fs/exists_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'fs/exists_test.ts')
-rw-r--r--fs/exists_test.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/fs/exists_test.ts b/fs/exists_test.ts
index 3d781108e..1e94c7f69 100644
--- a/fs/exists_test.ts
+++ b/fs/exists_test.ts
@@ -34,3 +34,13 @@ test(function existsDirectorySync() {
);
assertEquals(existsSync(testdataDir), true);
});
+
+test(function existsLinkSync() {
+ // TODO(axetroy): generate link file use Deno api instead of set a link file in repository
+ assertEquals(existsSync(path.join(testdataDir, "0-link.ts")), true);
+});
+
+test(async function existsLink() {
+ // TODO(axetroy): generate link file use Deno api instead of set a link file in repository
+ assertEquals(await exists(path.join(testdataDir, "0-link.ts")), true);
+});