mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-13 15:47:28 +00:00
17 lines
487 B
TypeScript
17 lines
487 B
TypeScript
import { createScopedVitestConfig } from "./vitest.scoped-config.ts";
|
|
|
|
export function createExtensionSlackVitestConfig(
|
|
env: Record<string, string | undefined> = process.env,
|
|
) {
|
|
return createScopedVitestConfig(["extensions/slack/**/*.test.ts"], {
|
|
dir: "extensions",
|
|
env,
|
|
includeOpenClawRuntimeSetup: false,
|
|
name: "extension-slack",
|
|
passWithNoTests: true,
|
|
setupFiles: ["test/setup.extensions.ts"],
|
|
});
|
|
}
|
|
|
|
export default createExtensionSlackVitestConfig();
|