mirror of
https://github.com/denoland/deno.git
synced 2024-10-30 09:08:00 -04: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");
|
|
});
|