From 8fdb55b0255016f2944cf8217de6983a34dca36a Mon Sep 17 00:00:00 2001 From: oliver Date: Sat, 10 Oct 2026 01:44:36 +0800 Subject: [PATCH] Fix compatibility test for settings.plugin.item comment mentions. Co-authored-by: Cursor --- test/compatibility.test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/compatibility.test.js b/test/compatibility.test.js index fe450a4..6617c08 100644 --- a/test/compatibility.test.js +++ b/test/compatibility.test.js @@ -35,7 +35,8 @@ test('browser half registers Settings sidebar + deferred form attach', async () assert.match(client, /SearchMcpSection/); assert.match(client, /createDeferredScope/); assert.match(client, /createMemoryScope/); - assert.doesNotMatch(client, /settings\.plugin\.item/); + assert.doesNotMatch(client, /name:\s*["']settings\.plugin\.item["']/); + assert.doesNotMatch(client, /inject\(\s*["']settings\.plugin\.item["']/); assert.match(client, /name: "plugins\.item"/); assert.match(client, /configForms/); assert.match(client, /whileServed/);