mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 09:50:42 +00:00
test: clarify qa whatsapp boundary assertion
This commit is contained in:
@@ -28,6 +28,10 @@ describe("WhatsApp QA transport boundary", () => {
|
||||
expect(source, file).not.toMatch(/extensions\/whatsapp\/src/u);
|
||||
expect(source, file).not.toMatch(/@openclaw\/whatsapp\/src/u);
|
||||
}
|
||||
expect(sources.some(([, source]) => source.includes("@openclaw/whatsapp/api.js"))).toBe(true);
|
||||
expect(
|
||||
sources
|
||||
.filter(([, source]) => source.includes("@openclaw/whatsapp/api.js"))
|
||||
.map(([file]) => path.relative(process.cwd(), file)),
|
||||
).toContain("extensions/qa-lab/src/live-transports/whatsapp/whatsapp-live.runtime.ts");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user