Files
gemini-cli/evals/failing_steering.eval.ts
T

25 lines
631 B
TypeScript

/**
* @license
* Copyright 2026 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, expect } from 'vitest';
import { evalTest, TestRig } from './test-helper.js';
describe('Related Eval Demonstration', () => {
evalTest('ALWAYS_PASSES', {
suiteName: 'core_steering',
suiteType: 'behavioral',
name: 'should fail deliberately to demonstrate regression reporting',
files: {
'test.txt': 'Hello world',
},
prompt: 'What is in test.txt?',
assert: async (rig: TestRig, result: string) => {
// This assertion is GUARANTEED TO FAIL.
expect(1).toBe(2);
},
});
});