diff options
Diffstat (limited to 'js/performance_test.ts')
-rw-r--r-- | js/performance_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |