Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
A comprehensive collection of Agent Skills for context engineering, multi-agent architectures, and production agent systems.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
examples/llm-as-judge-skills/tests/setup.ts
1/**2* Test setup file3*4* This file runs before all tests to configure the test environment.5*/67import { beforeAll, afterAll } from 'vitest';89// Load environment variables for testing10import 'dotenv/config';1112// Global test configuration13beforeAll(() => {14// Suppress console output during tests unless DEBUG is set15if (!process.env.DEBUG) {16console.log = () => {};17console.info = () => {};18}19});2021afterAll(() => {22// Cleanup23});2425// Increase timeout for LLM API calls26// Note: Individual tests can override this with their own timeout2728