mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
11 lines
379 B
JavaScript
11 lines
379 B
JavaScript
// Test routing roots for WhatsApp extension tests.
|
|
import { bundledPluginRoot } from "../../scripts/lib/bundled-plugin-paths.mjs";
|
|
|
|
const whatsAppExtensionIds = ["whatsapp"];
|
|
|
|
export const whatsAppExtensionTestRoots = whatsAppExtensionIds.map((id) => bundledPluginRoot(id));
|
|
|
|
export function isWhatsAppExtensionRoot(root) {
|
|
return whatsAppExtensionTestRoots.includes(root);
|
|
}
|