From 734cf781c6e606a8a836863a391c94cf4fad22d7 Mon Sep 17 00:00:00 2001 From: Vincent LE GOFF Date: Mon, 8 Apr 2019 22:22:40 +0200 Subject: Allow high precision performance.now() (#1977) --- js/performance_test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/performance_test.ts') diff --git a/js/performance_test.ts b/js/performance_test.ts index 154dadbbe..8f9dbc990 100644 --- a/js/performance_test.ts +++ b/js/performance_test.ts @@ -1,7 +1,7 @@ // Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. -import { test, assert } from "./test_util.ts"; +import { testPerm, assert } from "./test_util.ts"; -test(function now() { +testPerm({ highPrecision: false }, function now() { const start = performance.now(); setTimeout(() => { const end = performance.now(); -- cgit v1.2.3