From 62005a63915bb8a47970669c84e43a6b3e7ec65e Mon Sep 17 00:00:00 2001 From: weikeyi Date: Wed, 6 May 2026 23:32:28 +0800 Subject: [PATCH] test(capsule): tighten host centering regex --- openless-all/app/scripts/windows-ui-config.test.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openless-all/app/scripts/windows-ui-config.test.mjs b/openless-all/app/scripts/windows-ui-config.test.mjs index 9bdad4dd..4d9ddb61 100644 --- a/openless-all/app/scripts/windows-ui-config.test.mjs +++ b/openless-all/app/scripts/windows-ui-config.test.mjs @@ -116,7 +116,7 @@ if (!/const hostMetrics = getCapsuleHostMetrics\(os,\s*translation\);/.test(caps throw new Error('capsule should derive host metrics from the shared layout contract'); } -if (!/justifyContent:\s*'center'/.test(capsuleTsx)) { +if (!/return\s*\(\s*