All files / kernel-test-local/src constants.ts

83.33% Statements 5/6
100% Branches 2/2
0% Functions 0/1
100% Lines 5/5

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21      3x 3x         3x 3x                 3x  
/**
 * Test constants for E2E tests
 */
export const DEFAULT_MODEL = 'llama3.1:latest';
export const TEST_MODELS = ['llama3.1:latest', 'gpt-oss:20b'];
 
/**
 * Ollama API endpoints
 */
export const OLLAMA_API_BASE = 'http://localhost:11434';
export const OLLAMA_TAGS_ENDPOINT = `${OLLAMA_API_BASE}/api/tags`;
 
// extract ignored logger tags from environment variable
 
/**
 * The tags to ignore for the local tests.
 */
export const IGNORE_TAGS =
  // eslint-disable-next-line n/no-process-env
  process?.env?.LOGGER_IGNORE?.split(',')?.map((tag) => tag.trim()) ?? [];