mirror of
https://github.com/denoland/deno.git
synced 2024-11-26 16:09:27 -05:00
4bea1d06c7
This commit changes "deno test" subcommand, to always never prompt for permissions (ie. as if "deno test" was run with "--no-prompt" flag).
3 lines
109 B
TypeScript
3 lines
109 B
TypeScript
Deno.test("no prompt", { permissions: { read: false } }, () => {
|
|
Deno.readTextFile("./some_file.txt");
|
|
});
|