From eafd39d7274a87e1b97d93c101233a248d195777 Mon Sep 17 00:00:00 2001 From: Simon Lecoq <22963968+lowlighter@users.noreply.github.com> Date: Sat, 6 Sep 2025 09:40:33 -0400 Subject: [PATCH] fix(testing)!: defaults to permissions "none" on deno when testing --- testing/_testing/deno.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testing/_testing/deno.ts b/testing/_testing/deno.ts index 82407d21..e64678c3 100644 --- a/testing/_testing/deno.ts +++ b/testing/_testing/deno.ts @@ -4,6 +4,8 @@ import { format } from "./common.ts" /** Deno test runner. */ export const test = Object.assign(function (name: string, fn: () => Promisable, options?: options) { + options ??= {} + options.permissions ??= "none" return globalThis.Deno.test({ name: format(name), fn, ...options }) }, { only: function (name: string, fn: () => Promisable, options?: options) {