diff options
author | Liam Murphy <43807659+Liamolucko@users.noreply.github.com> | 2021-01-06 10:42:40 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-06 00:42:40 +0100 |
commit | 4c4791b5899afe585738ac0a15ba5c21d36952cc (patch) | |
tree | 92a0acb0abf54098ac5fd71016a4931c5f346e26 /std/node/module_test.ts | |
parent | 39bbbbce70c13575857b216b79ec21c37a923760 (diff) |
fix(std/node): resolve files in symlinked directories (#8840)
Diffstat (limited to 'std/node/module_test.ts')
-rw-r--r-- | std/node/module_test.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/std/node/module_test.ts b/std/node/module_test.ts index 2faaff575..86fb1d386 100644 --- a/std/node/module_test.ts +++ b/std/node/module_test.ts @@ -69,3 +69,8 @@ Deno.test("requireStack", function () { assertStringIncludes(e.stack, "/tests/cjs/cjs_throw.js"); } }); + +Deno.test("requireFileInSymlinkDir", () => { + const { C } = require("./tests/cjs/dir"); + assertEquals(C, "C"); +}); |