From 82826db233bb57df8c0f0c76a6bdf774d255724e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 2 Apr 2020 16:35:54 +0530 Subject: [PATCH] Fix test time reporting --- src/pyj/test.pyj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyj/test.pyj b/src/pyj/test.pyj index 2bbcacb3a0..634861b55f 100644 --- a/src/pyj/test.pyj +++ b/src/pyj/test.pyj @@ -54,7 +54,7 @@ def main(): tests = get_matching_tests_for_name() st = window.performance.now() failed_tests, total = run_tests(tests) - time = window.performance.now() - st + time = (window.performance.now() - st) / 1000 if failed_tests.length: console.error(f'{failed_tests.length} out of {total} failed in {time:.1f} seconds') else: