test: tighten msteams action discovery assertion · openclaw/openclaw@b3c34d2
shakkernerd
·
2026-05-11
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -26,17 +26,25 @@ describe("msteamsPlugin", () => {
|
26 | 26 | cfg: createConfiguredMSTeamsCfg(), |
27 | 27 | })?.actions; |
28 | 28 | |
29 | | -expect(actions).toEqual( |
30 | | -expect.arrayContaining([ |
31 | | -"upload-file", |
32 | | -"member-info", |
33 | | -"channel-list", |
34 | | -"channel-info", |
35 | | -"addParticipant", |
36 | | -"removeParticipant", |
37 | | -"renameGroup", |
38 | | -]), |
39 | | -); |
| 29 | +expect(actions).toEqual([ |
| 30 | +"upload-file", |
| 31 | +"poll", |
| 32 | +"edit", |
| 33 | +"delete", |
| 34 | +"pin", |
| 35 | +"unpin", |
| 36 | +"list-pins", |
| 37 | +"read", |
| 38 | +"react", |
| 39 | +"reactions", |
| 40 | +"search", |
| 41 | +"member-info", |
| 42 | +"channel-list", |
| 43 | +"channel-info", |
| 44 | +"addParticipant", |
| 45 | +"removeParticipant", |
| 46 | +"renameGroup", |
| 47 | +]); |
40 | 48 | }); |
41 | 49 | |
42 | 50 | it("reuses the shared Teams target-id matcher for explicit targets", () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。