UNPKG

@clduab11/gemini-flow

Version:

Revolutionary AI agent swarm coordination platform with Google Services integration, multimedia processing, and production-ready monitoring. Features 8 Google AI services, quantum computing capabilities, and enterprise-grade security.

89 lines 2.2 kB
module.exports = { testEnvironment: 'node', roots: ['<rootDir>/src', '<rootDir>/tests'], testMatch: [ '**/__tests__/**/*.+(ts|tsx|js)', '**/*.(test|spec).+(ts|tsx|js)' ], transform: { '^.+\\.(ts|tsx)$': [ 'ts-jest', { useESM: true, tsconfig: { module: 'esnext', target: 'es2022', moduleResolution: 'node' } } ], '^.+\\.(js|jsx)$': 'babel-jest' }, preset: 'ts-jest/presets/default-esm', extensionsToTreatAsEsm: ['.ts'], moduleNameMapper: { '^@/(.*)$': '<rootDir>/src/$1', '^@/tests/(.*)$': '<rootDir>/tests/$1' }, collectCoverageFrom: [ 'src/**/*.{ts,tsx}', '!src/**/*.d.ts', '!src/**/__tests__/**', '!src/**/*.test.*', '!src/benchmarks/**', '!src/examples/**' ], coverageDirectory: 'coverage', coverageReporters: ['text', 'lcov', 'html', 'json'], coverageThreshold: { global: { branches: 75, functions: 75, lines: 75, statements: 75 } }, setupFilesAfterEnv: ['<rootDir>/tests/setup.ts'], testTimeout: 30000, maxWorkers: '50%', // Performance and integration test configuration projects: [ { displayName: 'unit', testMatch: ['<rootDir>/tests/unit/**/*.test.ts'], testEnvironment: 'node' }, { displayName: 'integration', testMatch: ['<rootDir>/tests/integration/**/*.test.ts'], testEnvironment: 'node' }, { displayName: 'a2a-compliance', testMatch: ['<rootDir>/tests/a2a/**/*.test.ts'], testEnvironment: 'node' }, { displayName: 'streaming', testMatch: ['<rootDir>/tests/streaming/**/*.test.ts'], testEnvironment: 'node' }, { displayName: 'performance', testMatch: ['<rootDir>/tests/**/*benchmark*.test.ts'], testEnvironment: 'node' } ], globalSetup: '<rootDir>/tests/global-setup.ts', globalTeardown: '<rootDir>/tests/global-teardown.ts', transformIgnorePatterns: [ 'node_modules/(?!(.*\.mjs$))' ], moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'], globals: { 'ts-jest': { useESM: true, isolatedModules: true } } };