Deno.PermissionOptions

Options which define the permissions within a test or worker context.

"inherit" ensures that all permissions of the parent process will be applied to the test context. "none" ensures the test context has no permissions. A PermissionOptionsObject provides a more specific set of permissions to the test context.

type PermissionOptions = "inherit" | "none" | PermissionOptionsObject;

§Type

§
"inherit" | "none" | PermissionOptionsObject
[src]