summaryrefslogtreecommitdiff
path: root/runtime/js/06_util.js
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2021-04-26 05:38:59 +0800
committerGitHub <noreply@github.com>2021-04-25 23:38:59 +0200
commitf3751e498faabd524494a4b70c49b1f53fe5ebdd (patch)
tree9f3cf5b15fc10d0ef12f78c984fbbb59554343ef /runtime/js/06_util.js
parent7063e449f11ab2cff492ba90314da7a0bcd994a6 (diff)
feat(cli): add test permissions to Deno.test (#10188)
This commits adds adds "permissions" option to the test definitions which allows tests to run with different permission sets than the process's permission. The change will only be in effect within the test function, once the test has completed the original process permission set is restored. Test permissions cannot exceed the process's permission. You can only narrow or drop permissions, failure to acquire a permission results in an error being thrown and the test case will fail.
Diffstat (limited to 'runtime/js/06_util.js')
0 files changed, 0 insertions, 0 deletions