fix(std/node): resolve files in symlinked directories (#8840)

This commit is contained in:
Liam Murphy 2021-01-06 10:42:40 +11:00 committed by GitHub
parent 39bbbbce70
commit 4c4791b589
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 10 deletions

View file

@ -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");
});