From 9557f2bbfab4c84a637004fc582ca8ba1e8ef3d9 Mon Sep 17 00:00:00 2001 From: Christian Lawson-Perfect Date: Thu, 21 Nov 2024 08:28:18 +0000 Subject: [PATCH] add endTiming to the end of an exam unit test The headless test runner seemed to be waiting for the timer to end. --- tests/parts/part-tests.mjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/parts/part-tests.mjs b/tests/parts/part-tests.mjs index 30e4ca791..1ef2299d3 100644 --- a/tests/parts/part-tests.mjs +++ b/tests/parts/part-tests.mjs @@ -3192,6 +3192,8 @@ return new Numbas.jme.types.TPromise(promise); await submit_part(p1); assert.equal(e.score,1); + + e.endTiming(); }, async function(data, results, scorm) {