test: clarify qa whatsapp boundary assertion · openclaw/openclaw@f992dd6
steipete
·
2026-05-08
·
via Recent Commits to openclaw:main
File tree
extensions/qa-lab/src/live-transports/whatsapp
| Original file line number | Diff line number | Diff line change |
|---|
@@ -28,6 +28,10 @@ describe("WhatsApp QA transport boundary", () => {
|
28 | 28 | expect(source, file).not.toMatch(/extensions\/whatsapp\/src/u); |
29 | 29 | expect(source, file).not.toMatch(/@openclaw\/whatsapp\/src/u); |
30 | 30 | } |
31 | | -expect(sources.some(([, source]) => source.includes("@openclaw/whatsapp/api.js"))).toBe(true); |
| 31 | +expect( |
| 32 | +sources |
| 33 | +.filter(([, source]) => source.includes("@openclaw/whatsapp/api.js")) |
| 34 | +.map(([file]) => path.relative(process.cwd(), file)), |
| 35 | +).toContain("extensions/qa-lab/src/live-transports/whatsapp/whatsapp-live.runtime.ts"); |
32 | 36 | }); |
33 | 37 | }); |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。