mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-13 15:47:28 +00:00
test: move Vitest configs under test
This commit is contained in:
20
test/vitest/vitest.extension-messaging-paths.mjs
Normal file
20
test/vitest/vitest.extension-messaging-paths.mjs
Normal file
@@ -0,0 +1,20 @@
|
||||
import { bundledPluginRoot } from "../../scripts/lib/bundled-plugin-paths.mjs";
|
||||
|
||||
export const messagingExtensionIds = [
|
||||
"bluebubbles",
|
||||
"googlechat",
|
||||
"mattermost",
|
||||
"nextcloud-talk",
|
||||
"nostr",
|
||||
"qqbot",
|
||||
"synology-chat",
|
||||
"tlon",
|
||||
"twitch",
|
||||
"voice-call",
|
||||
];
|
||||
|
||||
export const messagingExtensionTestRoots = messagingExtensionIds.map((id) => bundledPluginRoot(id));
|
||||
|
||||
export function isMessagingExtensionRoot(root) {
|
||||
return messagingExtensionTestRoots.includes(root);
|
||||
}
|
||||
Reference in New Issue
Block a user