summaryrefslogtreecommitdiff
path: root/scripts/tests/test-setup.ts
diff options
context:
space:
mode:
authormatt korwel <[email protected]>2025-07-05 13:58:59 -0700
committerGitHub <[email protected]>2025-07-05 20:58:59 +0000
commita7256f630c7c9335ccd7a41e97c9322c0a33ea67 (patch)
treef1bdac3ec3d67171717de60032cf3dbbf24f437b /scripts/tests/test-setup.ts
parent4be32d1f73bc2d9e4d22a71eee7b142e9b0aa577 (diff)
Relase: Clean up and condensing (#3321)
Diffstat (limited to 'scripts/tests/test-setup.ts')
-rw-r--r--scripts/tests/test-setup.ts12
1 files changed, 12 insertions, 0 deletions
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(),
+}));