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) {