Further iteration

This commit is contained in:
Zef Hemel
2023-08-30 17:25:54 +02:00
parent cbc00b73a0
commit 75da8e7ca9
18 changed files with 128 additions and 147 deletions
+3
View File
@@ -10,6 +10,7 @@ import { path } from "../common/deps.ts";
Deno.test("Test plug run", async () => {
// const tempDir = await Deno.makeTempDir();
const tempDbFile = await Deno.makeTempFile({ suffix: ".db" });
const assetBundle = new AssetBundle(assets);
@@ -26,6 +27,7 @@ Deno.test("Test plug run", async () => {
assertEquals(
await runPlug(
testSpaceFolder,
tempDbFile,
"test.run",
[],
assetBundle,
@@ -35,4 +37,5 @@ Deno.test("Test plug run", async () => {
// await Deno.remove(tempDir, { recursive: true });
esbuild.stop();
await Deno.remove(tempDbFile);
});