/* * harness.mjs — zero-dependency test registry (D-12). * Suites import { test } and register async cases; runner.mjs drains the registry. * Same hand-rolled shape as theme/scripts/audit.test.mjs (Phase 1 precedent). */ const tests = []; export function test(name, fn) { tests.push({ name, fn }); } export const registry = tests;