attempt to fix flaky walkdir test

This commit is contained in:
Nate 2025-03-08 09:42:12 -08:00
parent 7aa86e7fa3
commit 1be8ed69ec

View file

@ -192,12 +192,7 @@ describe("walkDir functions", () => {
it("should skip symlinks", async () => {
const filePath = path.join(TEST_DIR_PATH, "real.ts");
addToTestDir([["real.ts", "content"]]);
fs.symlink(
filePath,
path.join(TEST_DIR_PATH, "symlink.ts"),
"file",
() => {},
);
fs.symlinkSync(filePath, path.join(TEST_DIR_PATH, "symlink.ts"), "file");
const files = await walkDirs(testIde);