Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

656 B
Raw Blame
import path from 'path';
import { defineConfig } from 'vitest/config';

const repoRoot = path.resolve(__dirname, '../../../..');

export default defineConfig({
  test: {
    globals: true,
    environment: 'node',
    testTimeout: 120_000,
  },
  resolve: {
    alias: {
      '@activepieces/shared': path.resolve(
        repoRoot,
        'packages/core/shared/src/index.ts'
      ),
      '@activepieces/pieces-framework': path.resolve(
        repoRoot,
        'packages/pieces/framework/src/index.ts'
      ),
      '@activepieces/pieces-common': path.resolve(
        repoRoot,
        'packages/pieces/common/src/index.ts'
      ),
    },
  },
});