From: Chris Duncan Date: Mon, 7 Jul 2025 17:53:10 +0000 (-0700) Subject: Add brief delay before test runner check to allow test page to complete loading its... X-Git-Tag: v0.10.5~91 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=48647cf3f0736c186ae74d34bb877e5ba0c3b32c;p=libnemo.git Add brief delay before test runner check to allow test page to complete loading its own content. --- diff --git a/test/GLOBALS.mjs b/test/GLOBALS.mjs index f0b6b56..6277040 100644 --- a/test/GLOBALS.mjs +++ b/test/GLOBALS.mjs @@ -91,6 +91,7 @@ function pass (...args) { } await suite('TEST RUNNER CHECK', async () => { + await new Promise(r => setTimeout(r, 0)) console.assert(failures.length === 0) console.assert(passes.length === 0)