From d2c158378f117214c7eba5430011bbc9748090d2 Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Tue, 30 Jul 2024 14:26:02 +0200 Subject: [PATCH] Fix tests --- Dockerfile | 2 +- cmd/test/plug_run.test.ts | 3 +++ cmd/test/runtime.test.ts | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 38b87791..948acc2a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM denoland/deno:debian-1.45.3 +FROM denoland/deno:debian-1.45.4 # The volume that will keep the space data diff --git a/cmd/test/plug_run.test.ts b/cmd/test/plug_run.test.ts index 6533f616..0c69d375 100644 --- a/cmd/test/plug_run.test.ts +++ b/cmd/test/plug_run.test.ts @@ -22,6 +22,9 @@ Deno.test("Test plug run", { await compileManifest( join(testFolder, "test_plug_run.plug.yaml"), plugFolder, + { + configPath: new URL("../../deno.json", import.meta.url).pathname, + }, ); assertEquals( await runPlug( diff --git a/cmd/test/runtime.test.ts b/cmd/test/runtime.test.ts index 5d56b24e..b7553a10 100644 --- a/cmd/test/runtime.test.ts +++ b/cmd/test/runtime.test.ts @@ -39,6 +39,9 @@ Deno.test("Run a deno sandbox", { const workerPath = await compileManifest( new URL("test_runtime.plug.yaml", import.meta.url).pathname, tempDir, + { + configPath: new URL("../../deno.json", import.meta.url).pathname, + }, ); const plug = await system.load(