diff options
| author | matt korwel <[email protected]> | 2025-07-05 13:58:59 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-05 20:58:59 +0000 |
| commit | a7256f630c7c9335ccd7a41e97c9322c0a33ea67 (patch) | |
| tree | f1bdac3ec3d67171717de60032cf3dbbf24f437b /scripts/tests/vitest.config.ts | |
| parent | 4be32d1f73bc2d9e4d22a71eee7b142e9b0aa577 (diff) | |
Relase: Clean up and condensing (#3321)
Diffstat (limited to 'scripts/tests/vitest.config.ts')
| -rw-r--r-- | scripts/tests/vitest.config.ts | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/tests/vitest.config.ts b/scripts/tests/vitest.config.ts new file mode 100644 index 00000000..a8e67005 --- /dev/null +++ b/scripts/tests/vitest.config.ts @@ -0,0 +1,20 @@ +/** + * @license + * Copyright 2025 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */ + +import { defineConfig } from 'vitest/config'; + +export default defineConfig({ + test: { + globals: true, + environment: 'node', + include: ['scripts/tests/**/*.test.js'], + setupFiles: ['scripts/tests/test-setup.ts'], + coverage: { + provider: 'v8', + reporter: ['text', 'lcov'], + }, + }, +}); |
