Files
gemini-cli/scripts/tests/test-setup.ts
T

16 lines
278 B
TypeScript

/**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { vi } from 'vitest';
vi.mock('fs', async () => {
const actual = await vi.importActual<typeof import('fs')>('fs');
return {
...actual,
appendFileSync: vi.fn(),
};
});