diff options
Diffstat (limited to 'cli/tests/025_hrtime.ts')
-rw-r--r-- | cli/tests/025_hrtime.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/tests/025_hrtime.ts b/cli/tests/025_hrtime.ts new file mode 100644 index 000000000..417ca6982 --- /dev/null +++ b/cli/tests/025_hrtime.ts @@ -0,0 +1,3 @@ +console.log(performance.now() % 2 !== 0); +Deno.revokePermission("hrtime"); +console.log(performance.now() % 2 === 0); |