1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-13 02:52:54 -05:00
denoland-deno/tests/specs/test/allow_none/main.ts

23 lines
301 B
TypeScript
Raw Normal View History

import { unreachable } from "@std/assert";
const permissions: Deno.PermissionName[] = [
"read",
"write",
"net",
"env",
"run",
"ffi",
];
for (const name of permissions) {
Deno.test({
name,
permissions: {
[name]: true,
},
fn() {
unreachable();
},
});
}