0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-29 08:58:01 -04:00
denoland-deno/cli/ops
Casper Beyer f3751e498f
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.
2021-04-25 23:38:59 +02:00
..
errors.rs refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
mod.rs feat(cli): add test permissions to Deno.test (#10188) 2021-04-25 23:38:59 +02:00
runtime_compiler.rs refactor(cli): rename Deno.emit() bundle options to "module" and "classic" (#10332) 2021-04-26 06:54:57 +10:00
test_runner.rs feat(cli): add test permissions to Deno.test (#10188) 2021-04-25 23:38:59 +02:00