Fix compatibility test for settings.plugin.item comment mentions.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-10-10 01:44:36 +08:00
parent 1d9a8e75c9
commit 8fdb55b025

View file

@ -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/);