This commit was merged in pull request #75.
This commit is contained in:
@@ -126,7 +126,7 @@ suite("Open Cowriting Review Preview (host E2E — menu wiring + clicked-doc res
|
||||
const items = (pkg().contributes.menus["editor/title"] ?? []) as Array<{ command: string; when?: string }>;
|
||||
const entry = items.find((m) => m.command === "cowriting.openReviewPreview");
|
||||
assert.ok(entry, "editor/title has an openReviewPreview entry");
|
||||
assert.match(entry!.when ?? "", /editorLangId == markdown/, "gated on markdown");
|
||||
assert.match(entry!.when ?? "", /resourceLangId == markdown/, "gated on markdown");
|
||||
});
|
||||
|
||||
test("the command title reads 'Open Cowriting Review Preview'", () => {
|
||||
|
||||
Reference in New Issue
Block a user