mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-15 06:12:50 -07:00
37 lines
773 B
TypeScript
37 lines
773 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2025 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
// Explicitly list packages that have valid vitest configurations.
|
|
// This avoids startup errors from packages like vscode-ide-companion.
|
|
projects: [
|
|
'packages/cli',
|
|
'packages/core',
|
|
'packages/sdk',
|
|
'packages/a2a-server',
|
|
'packages/test-utils',
|
|
],
|
|
include: ['**/*.test.{ts,tsx}'],
|
|
// Global test settings
|
|
coverage: {
|
|
enabled: false,
|
|
provider: 'v8',
|
|
},
|
|
fileParallelism: true,
|
|
poolOptions: {
|
|
threads: {
|
|
singleThread: false,
|
|
},
|
|
vmThreads: {
|
|
useAtomics: true,
|
|
},
|
|
},
|
|
},
|
|
});
|