From a7256f630c7c9335ccd7a41e97c9322c0a33ea67 Mon Sep 17 00:00:00 2001 From: matt korwel Date: Sat, 5 Jul 2025 13:58:59 -0700 Subject: Relase: Clean up and condensing (#3321) --- scripts/tests/test-setup.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 scripts/tests/test-setup.ts (limited to 'scripts/tests/test-setup.ts') diff --git a/scripts/tests/test-setup.ts b/scripts/tests/test-setup.ts new file mode 100644 index 00000000..d4c4b465 --- /dev/null +++ b/scripts/tests/test-setup.ts @@ -0,0 +1,12 @@ +/** + * @license + * Copyright 2025 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */ + +import { vi } from 'vitest'; + +vi.mock('fs', () => ({ + ...vi.importActual('fs'), + appendFileSync: vi.fn(), +})); -- cgit v1.2.3