]> git.codecow.com Git - libnemo.git/commitdiff
Add brief delay before test runner check to allow test page to complete loading its...
authorChris Duncan <chris@zoso.dev>
Mon, 7 Jul 2025 17:53:10 +0000 (10:53 -0700)
committerChris Duncan <chris@zoso.dev>
Mon, 7 Jul 2025 17:53:10 +0000 (10:53 -0700)
test/GLOBALS.mjs

index f0b6b56ba9da6a43db734e045b2f8958660004c8..62770406d3eade12028b930fab9cd37f2273f0ac 100644 (file)
@@ -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)