attempt to fix flaky walkdir test
This commit is contained in:
parent
7aa86e7fa3
commit
1be8ed69ec
1 changed files with 1 additions and 6 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue