From: Chris Duncan Date: Sun, 26 Apr 2026 20:58:31 +0000 (-0700) Subject: Ignore click requirement for Node tests. X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=ac79bd5c1cf247d87c40c8b7d352065981cc7b77;p=libnemo.git Ignore click requirement for Node tests. --- diff --git a/test/GLOBALS.mjs b/test/GLOBALS.mjs index 3d02dae..7f21fb9 100644 --- a/test/GLOBALS.mjs +++ b/test/GLOBALS.mjs @@ -74,6 +74,7 @@ function pass (name) { } export async function click (text, fn) { + if (isNode) return await fn() return new Promise((resolve, reject) => { const button = document.createElement('button') const hourglass = document.createTextNode('⏳')