@zuplo/cli
Advanced tools
Comparing version 1.40.0 to 1.41.0
@@ -36,2 +36,6 @@ export function denoTestPrepPlugin(argv, options) { | ||
// Load environment variables | ||
import { load } from "https://deno.land/std@0.185.0/dotenv/mod.ts"; | ||
await load(); | ||
export class TestHelper { | ||
@@ -46,2 +50,6 @@ static get TEST_URL() { | ||
} | ||
static get environment() { | ||
return Deno.env.toObject(); | ||
} | ||
} | ||
@@ -56,3 +64,3 @@ | ||
it, | ||
} from "https://deno.land/std@0.151.0/testing/bdd.ts"; | ||
} from "https://deno.land/std@0.185.0/testing/bdd.ts"; | ||
@@ -59,0 +67,0 @@ // We want to be able to disable test sanitizers by default to |
@@ -31,3 +31,9 @@ import { execa } from "execa"; | ||
if (denoExecutable) { | ||
const args = ["test", "--allow-net", "--no-check"]; | ||
const args = [ | ||
"test", | ||
"--allow-env", | ||
"--allow-net", | ||
"--allow-read=.env,.env.defaults,.env.example,config/", | ||
"--no-check", | ||
]; | ||
if (argv.filter) { | ||
@@ -34,0 +40,0 @@ args.push("--filter", argv.filter); |
{ | ||
"name": "@zuplo/cli", | ||
"version": "1.40.0", | ||
"version": "1.41.0", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/zuplo/cli", |
74429
1811