From 52593362ecb505198878466ef7e704a1877549e1 Mon Sep 17 00:00:00 2001 From: Geoffrey Wu Date: Fri, 30 Dec 2022 10:56:53 -0600 Subject: [PATCH] add timing information --- tests/quizbowl.test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/quizbowl.test.js b/tests/quizbowl.test.js index 6104ac2a1..08f0b7d66 100644 --- a/tests/quizbowl.test.js +++ b/tests/quizbowl.test.js @@ -36,6 +36,7 @@ function testAnswerType(type) { return { successful, total }; } +console.time('quizbowl.test.js'); let successful = 0, total = 0; let { successful: s, total: t } = testAnswerType('formatted'); @@ -47,3 +48,4 @@ successful += s; total += t; console.log(`OVERALL ${successful}/${total} tests successful`); +console.timeEnd('quizbowl.test.js');