add --allow-env for unit tests
Some checks failed
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline failed

This commit is contained in:
qpismont 2024-01-04 23:08:27 +01:00
parent 7fb3f19df7
commit 8cd00d9106

View file

@ -6,7 +6,7 @@
"dnt": "https://deno.land/x/dnt@0.39.0/mod.ts" "dnt": "https://deno.land/x/dnt@0.39.0/mod.ts"
}, },
"tasks": { "tasks": {
"test": "deno test --allow-net --parallel", "test": "deno test --allow-net --allow-env --parallel",
"build": "deno run -A scripts/build_npm.ts 0.1.0", "build": "deno run -A scripts/build_npm.ts 0.1.0",
"publish": "cd npm && npm publish" "publish": "cd npm && npm publish"
}, },