Download evals/vitest.config.ts from SaylorTwift/gemini-cli: direct link, hf CLI and curl.
- Browser
- Download file 881 Bytes
-
https://huggingface.co/SaylorTwift/gemini-cli/resolve/main/evals/vitest.config.ts
- Command line
-
hf download hf://SaylorTwift/gemini-cli/evals/vitest.config.ts
-
curl -L -o vitest.config.ts https://huggingface.co/SaylorTwift/gemini-cli/resolve/main/evals/vitest.config.ts
881 Bytes
| /** | |
| * @license | |
| * Copyright 2025 Google LLC | |
| * SPDX-License-Identifier: Apache-2.0 | |
| */ | |
| import { defineConfig } from 'vitest/config'; | |
| import { fileURLToPath } from 'node:url'; | |
| import * as path from 'node:path'; | |
| const __dirname = path.dirname(fileURLToPath(import.meta.url)); | |
| export default defineConfig({ | |
| resolve: { | |
| conditions: ['test'], | |
| }, | |
| test: { | |
| testTimeout: 300000, // 5 minutes | |
| reporters: ['default', 'json'], | |
| outputFile: { | |
| json: 'evals/logs/report.json', | |
| }, | |
| include: ['**/*.eval.ts'], | |
| environment: 'node', | |
| globals: true, | |
| alias: { | |
| '@google/gemini-cli-core': path.resolve( | |
| __dirname, | |
| '../packages/core/index.ts', | |
| ), | |
| }, | |
| setupFiles: [path.resolve(__dirname, '../packages/cli/test-setup.ts')], | |
| server: { | |
| deps: { | |
| inline: [/@google\/gemini-cli-core/], | |
| }, | |
| }, | |
| }, | |
| }); | |