This commit is contained in:
Zef Hemel
2023-01-22 18:53:14 +01:00
parent 5ad804da1c
commit 53bf098579
18 changed files with 226 additions and 140 deletions
+3 -1
View File
@@ -7,7 +7,9 @@ import { urlToPathname } from "../util.ts";
const fakeCtx = {} as any;
Deno.test("Test FS operations", async () => {
const thisFolder = path.resolve(path.dirname(urlToPathname(new URL(import.meta.url))));
const thisFolder = path.resolve(
path.dirname(urlToPathname(new URL(import.meta.url))),
);
const syscalls = fileSystemSyscalls(thisFolder);
const allFiles: FileMeta[] = await syscalls["fs.listFiles"](
fakeCtx,