diff options
| author | Allen Hutchison <[email protected]> | 2025-04-30 16:33:43 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-04-30 16:33:43 -0700 |
| commit | 976333f654ed891835f725f321e9b7716f6f5e61 (patch) | |
| tree | feb7fde751e6962eb48722698c8bf7295c4aacdd /packages/cli/vitest.config.ts | |
| parent | 2616e965a7caa39d731bda881db5a2feb851aa34 (diff) | |
Fix an issue where types/react was a different version from our main … (#231)
Co-authored-by: Brandon Keiji <[email protected]>
Diffstat (limited to 'packages/cli/vitest.config.ts')
| -rw-r--r-- | packages/cli/vitest.config.ts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/cli/vitest.config.ts b/packages/cli/vitest.config.ts new file mode 100644 index 00000000..aac3ddb3 --- /dev/null +++ b/packages/cli/vitest.config.ts @@ -0,0 +1,15 @@ +/** + * @license + * Copyright 2025 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */ + +/// <reference types="vitest" /> +import { defineConfig } from 'vitest/config'; + +export default defineConfig({ + test: { + environment: 'jsdom', + globals: true, // Optional: enables global APIs like describe, it, expect + }, +}); |
