1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-30 16:40:57 -05:00
denoland-deno/tests/testdata/test/ignore_permissions.ts
Luca Casonato 5cf97f539b
BREAKING(permissions): remove --allow-hrtime (#25367)
Remove `--allow-hrtime` and `--deny-hrtime`. We are doing this because
it is already possible to get access to high resolution timers through
workers and SharedArrayBuffer.

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2024-09-03 11:24:25 +02:00

15 lines
215 B
TypeScript

Deno.test({
name: "ignore",
permissions: {
read: true,
write: true,
net: true,
env: true,
run: true,
ffi: true,
},
ignore: true,
fn() {
throw new Error("unreachable");
},
});