mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-20 16:53:12 -07:00
25 lines
631 B
TypeScript
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);
|
|
},
|
|
});
|
|
});
|