From ef321fa1dd96fd6e77fb32b7de1a2531309d82ca Mon Sep 17 00:00:00 2001 From: Lee Dogeon Date: Fri, 20 Jun 2025 01:45:27 +0900 Subject: [PATCH] Allow several environment variables when running `deno test` --- deno.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deno.json b/deno.json index 13bc487..c161cba 100644 --- a/deno.json +++ b/deno.json @@ -50,7 +50,7 @@ "tasks": { "embed-css": "deno run -A jsr:@smallweb/embed src/css src/static", "check": "deno check src/ && deno lint && deno fmt --check && deno publish --dry-run --allow-dirty", - "test": "deno test --allow-net=hollo.social --parallel", + "test": "deno test --allow-env=NODE_V8_COVERAGE,JEST_WORKER_ID --allow-net=hollo.social --parallel", "test-all": "deno task check && deno task test", "coverage": "deno task test --coverage --clean && deno coverage --html", "hooks:install": "deno run --allow-read=deno.json,.git/hooks/ --allow-write=.git/hooks/ jsr:@hongminhee/deno-task-hooks",