summaryrefslogtreecommitdiff
path: root/cli/tests/test
AgeCommit message (Collapse)Author
2021-04-25feat(cli): add test permissions to Deno.test (#10188)Casper Beyer
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-03-01test(cli): reorganize test subcommand testcases and fixtures (#9627)Casper Beyer