This commit is contained in:
Zef Hemel
2023-01-01 11:28:25 -08:00
committed by GitHub
parent 8d3688b2fd
commit e4ebaa2cf4
9 changed files with 24 additions and 10 deletions
+3 -1
View File
@@ -130,10 +130,12 @@ Deno.test("Run a deno sandbox", async () => {
import { bundle as plugOsBundle } from "./bin/plugos-bundle.ts";
import { esbuild } from "./compile.ts";
import { urlToPathname } from "./util.ts";
const __dirname = new URL(".", import.meta.url).pathname;
const __dirname = urlToPathname(new URL(".", import.meta.url));
Deno.test("Preload dependencies", async () => {
const globalModules = await plugOsBundle(
`${__dirname}../plugs/global.plug.yaml`,
);