summaryrefslogtreecommitdiff
path: root/cli/tests/unit/timers_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/unit/timers_test.ts')
-rw-r--r--cli/tests/unit/timers_test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/unit/timers_test.ts b/cli/tests/unit/timers_test.ts
index 2decddbd9..7ac270516 100644
--- a/cli/tests/unit/timers_test.ts
+++ b/cli/tests/unit/timers_test.ts
@@ -445,7 +445,7 @@ unitTest(async function timerIgnoresDateOverride() {
assertEquals(hasThrown, 1);
});
-unitTest({ perms: { hrtime: true } }, function sleepSync() {
+unitTest({ permissions: { hrtime: true } }, function sleepSync() {
const start = performance.now();
Deno.sleepSync(10);
const after = performance.now();
@@ -453,7 +453,7 @@ unitTest({ perms: { hrtime: true } }, function sleepSync() {
});
unitTest(
- { perms: { hrtime: true } },
+ { permissions: { hrtime: true } },
async function sleepSyncShorterPromise() {
const perf = performance;
const short = 5;
@@ -472,7 +472,7 @@ unitTest(
);
unitTest(
- { perms: { hrtime: true } },
+ { permissions: { hrtime: true } },
async function sleepSyncLongerPromise() {
const perf = performance;
const short = 5;