diff --git a/vscode/src/webview/html.test.ts b/vscode/src/webview/html.test.ts
index d5db444..fa535ae 100644
--- a/vscode/src/webview/html.test.ts
+++ b/vscode/src/webview/html.test.ts
@@ -188,6 +188,59 @@ describe("buildHtml — graphDef embedding", () => {
});
});
+// ---------------------------------------------------------------------------
+// Inline-script syntax (regression guard)
+// ---------------------------------------------------------------------------
+
+describe("buildHtml — inline scripts are valid JavaScript", () => {
+ // Extract the body of every inline