From 7331c28272a3140aaa5cabe5a3823987d1d07e5c Mon Sep 17 00:00:00 2001 From: Thomas Jung Date: Fri, 6 Nov 2026 13:24:02 -0500 Subject: [PATCH] fix(ci): repair 3 pre-existing DEV unit-test breakages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. hugo/layouts/shortcodes/tut-menu.html: `contains` is not a Hugo function; the operands are strings → use `strings.Contains`. The bad token broke the Hugo build (exit 1), cascading to 4 hugo-homepage-partials failures (#8c2028daa). 2. package.json prebuild:parsers-bundle: align esbuild banner with the aliased `createRequire as __cjsBundleRequire` convention already used by bundle-shared.cjs. The bare `createRequire` collided with esbuild-emitted createRequire imports (from directives/ui.ts + reference-links.ts), throwing SyntaxError at module-load for 5 srv-qa test files. 3. Update 3 stale test assertions to match the intentional callout refactor (#18e713de5, #71a8d70bc): alerts now render as